mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +00:00
ext/dv/gstdvdemux.c: Forward all events upstream unless it's something we really don't handle. This fixes latency con...
Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event): Forward all events upstream unless it's something we really don't handle. This fixes latency configuration of pipelines.
This commit is contained in:
parent
939a1da72c
commit
169567f3ef
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-12-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
|
* ext/dv/gstdvdemux.c: (gst_dvdemux_handle_src_event):
|
||||||
|
Forward all events upstream unless it's something we really
|
||||||
|
don't handle. This fixes latency configuration of pipelines.
|
||||||
|
|
||||||
2008-12-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
2008-12-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
* ext/dv/gstdv.c: (plugin_init):
|
* ext/dv/gstdv.c: (plugin_init):
|
||||||
|
|
|
@ -1166,11 +1166,14 @@ gst_dvdemux_handle_src_event (GstPad * pad, GstEvent * event)
|
||||||
/* we can't really (yet) do QoS */
|
/* we can't really (yet) do QoS */
|
||||||
case GST_EVENT_NAVIGATION:
|
case GST_EVENT_NAVIGATION:
|
||||||
/* no navigation either... */
|
/* no navigation either... */
|
||||||
default:
|
|
||||||
res = FALSE;
|
res = FALSE;
|
||||||
|
default:
|
||||||
|
res = gst_pad_push_event (dvdemux->sinkpad, event);
|
||||||
|
event = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
gst_event_unref (event);
|
if (event)
|
||||||
|
gst_event_unref (event);
|
||||||
|
|
||||||
gst_object_unref (dvdemux);
|
gst_object_unref (dvdemux);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue