Commit dade0506 authored by Wim Taymans's avatar Wim Taymans

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.
parent 2a7a17ce
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:
......
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment