mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
debug info
Original commit message from CVS: debug info
This commit is contained in:
parent
651665dfc3
commit
dc446a0fa1
1 changed files with 4 additions and 1 deletions
|
@ -489,6 +489,8 @@ gst_vorbisfile_loop (GstElement *element)
|
||||||
vorbisfile->may_eos = FALSE;
|
vorbisfile->may_eos = FALSE;
|
||||||
vorbisfile->vf.seekable = gst_bytestream_seek (vorbisfile->bs, 0,
|
vorbisfile->vf.seekable = gst_bytestream_seek (vorbisfile->bs, 0,
|
||||||
GST_SEEK_METHOD_SET);
|
GST_SEEK_METHOD_SET);
|
||||||
|
GST_DEBUG (GST_CAT_PLUGIN_INFO, "vorbisfile: seekable: %s\n",
|
||||||
|
vorbisfile->vf.seekable ? "yes" : "no");
|
||||||
|
|
||||||
/* open our custom vorbisfile data object with the callbacks we provide */
|
/* open our custom vorbisfile data object with the callbacks we provide */
|
||||||
if (ov_open_callbacks (vorbisfile, &vorbisfile->vf, NULL, 0,
|
if (ov_open_callbacks (vorbisfile, &vorbisfile->vf, NULL, 0,
|
||||||
|
@ -935,7 +937,8 @@ gst_vorbisfile_src_event (GstPad *pad, GstEvent *event)
|
||||||
vorbis_info *vi;
|
vorbis_info *vi;
|
||||||
GstFormat format;
|
GstFormat format;
|
||||||
|
|
||||||
GST_DEBUG (GST_CAT_EVENT, "vorbisfile: handling seek event");
|
GST_DEBUG (GST_CAT_EVENT, "vorbisfile: handling seek event on pad %s:%s",
|
||||||
|
GST_DEBUG_PAD_NAME (pad));
|
||||||
if (!vorbisfile->vf.seekable) {
|
if (!vorbisfile->vf.seekable) {
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
GST_DEBUG (GST_CAT_EVENT, "vorbis stream is not seekable");
|
GST_DEBUG (GST_CAT_EVENT, "vorbis stream is not seekable");
|
||||||
|
|
Loading…
Reference in a new issue