mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
parsebin: Post STREAM_COLLECTION on EVENT_STREAM_COLLECTION
Otherwise decodebin won't get notified about STREAM_COLLECTION comming from the sources and thus will never get informored about it. Without being informed about the stream collection decodebin won't be able to select any streams. It ends up not creating any output for the streams defined from outside parserbin. https://bugzilla.gnome.org/show_bug.cgi?id=795364
This commit is contained in:
parent
2f3ff84f40
commit
89d0e9cc92
1 changed files with 3 additions and 0 deletions
|
@ -4046,6 +4046,9 @@ gst_parse_pad_event (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
|
|||
GstStreamCollection *collection = NULL;
|
||||
gst_event_parse_stream_collection (event, &collection);
|
||||
gst_parse_pad_update_stream_collection (parsepad, collection);
|
||||
gst_element_post_message (GST_ELEMENT (parsepad->parsebin),
|
||||
gst_message_new_stream_collection (GST_OBJECT (parsepad->parsebin),
|
||||
collection));
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_EOS:{
|
||||
|
|
Loading…
Reference in a new issue