diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2004-10-20 16:48:57 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2004-10-20 16:48:57 +0000 |
commit | 9898bfadb360a98dde26a4eeb30dad0bd86d876e (patch) | |
tree | 73dcf332d163653acc559dfc578487120daea257 /ext/cdaudio | |
parent | 48c0c3a450b2e531d12f9c6b4891249763a80071 (diff) |
I lied, I am the One True Buildmaster
Original commit message from CVS:
I lied, I am the One True Buildmaster
Diffstat (limited to 'ext/cdaudio')
-rw-r--r-- | ext/cdaudio/gstcdaudio.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c index c9c64f95a..9bf7fddd1 100644 --- a/ext/cdaudio/gstcdaudio.c +++ b/ext/cdaudio/gstcdaudio.c @@ -284,19 +284,17 @@ gst_cdaudio_get_property (GObject * object, guint prop_id, GValue * value, } static void -print_track_info (GstCDAudio * cdaudio) +debug_track_info (GstCDAudio * cdaudio) { gint i; - /* - for (i = 0; i < cdaudio->info.disc_total_tracks; i++) { - g_print ("%d %d %d %d:%02d\n", i, - cdaudio->info.disc_track[i].track_length.frames, - cdaudio->info.disc_track[i].track_pos.frames, - cdaudio->info.disc_track[i].track_length.minutes, - cdaudio->info.disc_track[i].track_length.seconds); - } - */ + for (i = 0; i < cdaudio->info.disc_total_tracks; i++) { + GST_DEBUG_OBJECT (cdaudio, "%d %d %d %d:%02d", i, + cdaudio->info.disc_track[i].track_length.frames, + cdaudio->info.disc_track[i].track_pos.frames, + cdaudio->info.disc_track[i].track_length.minutes, + cdaudio->info.disc_track[i].track_length.seconds); + } } static GstElementStateReturn @@ -321,7 +319,7 @@ gst_cdaudio_change_state (GstElement * element) if (cd_stat (cdaudio->cd_desc, &cdaudio->info) < 0) return GST_STATE_FAILURE; - print_track_info (cdaudio); + debug_track_info (cdaudio); cdaudio->discid = cddb_discid (cdaudio->cd_desc); g_object_notify (G_OBJECT (cdaudio), "discid"); |