From: <tp...@fr...> - 2005-06-16 17:52:49
|
CVS Root: /cvs/gstreamer Module: gst-plugins Changes by: tpm Date: Thu Jun 16 2005 10:52:44 PDT Branch: BRANCH-GSTREAMER-0_8 Log message: * ext/cdio/cddasrc.c: (cddasrc_open), (cddasrc_change_state): Output more debug info. Modified files: . : ChangeLog ext/cdio : cddasrc.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.1641.2.250&r2=1.1641.2.251 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/cdio/cddasrc.c.diff?r1=1.1.2.3&r2=1.1.2.4 ====Begin Diffs==== Index: cddasrc.c =================================================================== RCS file: /cvs/gstreamer/gst-plugins/ext/cdio/Attic/cddasrc.c,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- cddasrc.c 15 Jun 2005 16:47:07 -0000 1.1.2.3 +++ cddasrc.c 16 Jun 2005 17:52:31 -0000 1.1.2.4 @@ -631,7 +631,8 @@ g_return_val_if_fail (src->cdio == NULL, FALSE); - GST_DEBUG_OBJECT (src, "trying to open device..."); + GST_DEBUG_OBJECT (src, "trying to open device %s ...", + (src->device) ? src->device : "(null)"); /* find the device */ if (src->device) @@ -669,7 +670,8 @@ src->need_discont = TRUE; src->need_seek = -1; - GST_DEBUG_OBJECT (src, "device successfully openend"); + GST_DEBUG_OBJECT (src, "device successfully openend, %d tracks", + src->num_tracks); cddasrc_calculate_discid (src); @@ -726,7 +728,8 @@ if (src->uri_track > 0) { if (src->uri_track > src->num_tracks) { GST_ELEMENT_ERROR (src, RESOURCE, SEEK, - (_("Invalid track")), ("Track out of bounds")); + (_("Invalid track")), ("Track %d/%d out of bounds", + src->uri_track, src->num_tracks)); return GST_STATE_FAILURE; } src->need_seek = src->track_starts[src->uri_track - 1]; Index: ChangeLog RCS file: /cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.1641.2.250 retrieving revision 1.1641.2.251 diff -u -d -r1.1641.2.250 -r1.1641.2.251 --- ChangeLog 16 Jun 2005 01:30:26 -0000 1.1641.2.250 +++ ChangeLog 16 Jun 2005 17:52:31 -0000 1.1641.2.251 @@ -1,3 +1,8 @@ +2005-06-16 Tim-Philipp Müller <tim at centricular dot net> + + * ext/cdio/cddasrc.c: (cddasrc_open), (cddasrc_change_state): + Output more debug info. 2005-06-15 David Schleef <ds...@sc...> * gst/videotestsrc/videotestsrc.c: (paint_hline_I420): Fix I420 |