libs/gst/base/gstbasesrc.c: Add some debugging.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Add some debugging.
This commit is contained in:
Wim Taymans 2006-01-26 12:59:48 +00:00
parent 41a718c171
commit 74464f0730
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-01-26 Wim Taymans <wim@fluendo.com>
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Add some debugging.
2006-01-26 Julien MOUTTE <julien@moutte.net>
* plugins/elements/gsttee.c: (gst_tee_do_push),

View file

@ -1127,6 +1127,9 @@ gst_base_src_get_range (GstBaseSrc * src, guint64 offset, guint length,
if (ret != GST_FLOW_OK)
goto done;
GST_DEBUG_OBJECT (src, "offset %" G_GUINT64_FORMAT " %" G_GINT64_FORMAT,
offset, src->segment.time);
/* no timestamp set and we are at offset 0 */
if (offset == 0 && src->segment.time == 0
&& GST_BUFFER_TIMESTAMP (*buf) == -1)