mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
2a7a17ce2b
commit
dade05062a
3 changed files with 18 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue