mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
add debugging
This commit is contained in:
parent
be94a147ba
commit
fb4953a68d
1 changed files with 2 additions and 0 deletions
|
@ -1856,12 +1856,14 @@ gst_flac_dec_src_event (GstPad * pad, GstEvent * event)
|
|||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_SEEK:{
|
||||
GST_DEBUG_OBJECT (flacdec, "received seek event %p", event);
|
||||
/* first, see if we're before a demuxer that
|
||||
* might handle the seek for us */
|
||||
gst_event_ref (event);
|
||||
res = gst_pad_event_default (pad, event);
|
||||
/* if not, try to handle it ourselves */
|
||||
if (!res) {
|
||||
GST_DEBUG_OBJECT (flacdec, "default failed, handling ourselves");
|
||||
res = gst_flac_dec_handle_seek_event (flacdec, event);
|
||||
}
|
||||
gst_event_unref (event);
|
||||
|
|
Loading…
Reference in a new issue