mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
ext/ffmpeg/gstffmpegdemux.c: Don't return FALSE for the LATENCY event but instead forward it upstream. Fixes #482946.
Original commit message from CVS: Patch by: Yann Gilquin <yann dot gilquin at purplelabs dot com> * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event): Don't return FALSE for the LATENCY event but instead forward it upstream. Fixes #482946.
This commit is contained in:
parent
033751e57e
commit
808f080279
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2007-10-05 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
Patch by: Yann Gilquin <yann dot gilquin at purplelabs dot com>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event):
|
||||
Don't return FALSE for the LATENCY event but instead forward it
|
||||
upstream. Fixes #482946.
|
||||
|
||||
2007-10-03 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* tests/check/generic/libavcodec-locking.c:
|
||||
|
|
|
@ -591,14 +591,20 @@ gst_ffmpegdemux_src_event (GstPad * pad, GstEvent * event)
|
|||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_SEEK:
|
||||
res = gst_ffmpegdemux_perform_seek (demux, event);
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
case GST_EVENT_LATENCY:
|
||||
res = gst_pad_push_event (demux->sinkpad, event);
|
||||
break;
|
||||
case GST_EVENT_NAVIGATION:
|
||||
case GST_EVENT_QOS:
|
||||
default:
|
||||
res = FALSE;
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
}
|
||||
|
||||
gst_object_unref (demux);
|
||||
gst_event_unref (event);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue