gst/base/gstbasesrc.c: Some more debugging info.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range),
(gst_base_src_is_seekable), (gst_base_src_change_state):
Some more debugging info.
This commit is contained in:
Wim Taymans 2005-09-26 11:21:42 +00:00
parent 2a7a17ce2b
commit dade05062a
3 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-09-26 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasesrc.c: (gst_base_src_get_range),
(gst_base_src_is_seekable), (gst_base_src_change_state):
Some more debugging info.
2005-09-25 Stefan Kost <ensonic@users.sf.net>
* docs/gst/gstreamer-sections.txt:

View file

@ -585,6 +585,10 @@ gst_base_src_get_range (GstPad * pad, guint64 offset, guint length,
if (!bclass->create)
goto no_function;
GST_DEBUG_OBJECT (src,
"reading offset %" G_GUINT64_FORMAT ", length %u, size %"
G_GUINT64_FORMAT, offset, length, src->size);
/* check size */
if (src->size != -1) {
if (offset > src->size)
@ -772,6 +776,8 @@ gst_base_src_is_seekable (GstBaseSrc * basesrc)
else
basesrc->seekable = FALSE;
GST_DEBUG_OBJECT (basesrc, "is seekable: %d", basesrc->seekable);
return basesrc->seekable;
}

View file

@ -585,6 +585,10 @@ gst_base_src_get_range (GstPad * pad, guint64 offset, guint length,
if (!bclass->create)
goto no_function;
GST_DEBUG_OBJECT (src,
"reading offset %" G_GUINT64_FORMAT ", length %u, size %"
G_GUINT64_FORMAT, offset, length, src->size);
/* check size */
if (src->size != -1) {
if (offset > src->size)
@ -772,6 +776,8 @@ gst_base_src_is_seekable (GstBaseSrc * basesrc)
else
basesrc->seekable = FALSE;
GST_DEBUG_OBJECT (basesrc, "is seekable: %d", basesrc->seekable);
return basesrc->seekable;
}