summaryrefslogtreecommitdiff
path: root/gst/mpegdemux
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-10-18 22:23:07 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-10-19 16:17:45 +0200
commit88f407bb5b1a1cee1bc6a69e0ce8af902d2b17a5 (patch)
treeddb6b0554f8b02032dc343c8ec27ca520f630e9b /gst/mpegdemux
parenta2b6f46f006a9a7357e81287da25ffd13464555c (diff)
downloadgstreamer-plugins-bad-88f407bb5b1a1cee1bc6a69e0ce8af902d2b17a5.tar.gz
mpegdemux: forward non-processed dvd events
... such as notably dvd-spu-clut-change.
Diffstat (limited to 'gst/mpegdemux')
-rw-r--r--gst/mpegdemux/gstmpegdemux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index 1882e3d98..2fe6efc0f 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -805,6 +805,10 @@ gst_flups_demux_handle_dvd_event (GstFluPSDemux * demux, GstEvent * event)
gst_element_no_more_pads (GST_ELEMENT (demux));
demux->need_no_more_pads = FALSE;
+ } else {
+ /* forward to all pads, e.g. dvd clut event */
+ gst_event_ref (event);
+ gst_flups_demux_send_event (demux, event);
}
gst_event_unref (event);