decodebin3: consume select-streams event

https://bugzilla.gnome.org/show_bug.cgi?id=769270
This commit is contained in:
Guillaume Desmottes 2016-08-01 12:28:20 +02:00 committed by Edward Hervey
parent 12c268b7c5
commit 0b77ede079

View file

@ -2338,6 +2338,7 @@ gst_decodebin3_send_event (GstElement * element, GstEvent * event)
if (streams) if (streams)
handle_stream_switch (dbin, streams, seqnum); handle_stream_switch (dbin, streams, seqnum);
gst_event_unref (event);
return TRUE; return TRUE;
} }
return GST_ELEMENT_CLASS (parent_class)->send_event (element, event); return GST_ELEMENT_CLASS (parent_class)->send_event (element, event);