mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
tsdemux: Push GST_EVENT_STREAM_COLLECTION
Demuxers that are not streams-aware will have that handled by parsebin. This created a difference in results downstream between streams-aware and non-streams-aware demuxers Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
parent
e68baffcd9
commit
3305d7ce8d
1 changed files with 6 additions and 0 deletions
|
@ -2231,6 +2231,9 @@ gst_ts_demux_update_program (MpegTSBase * base, MpegTSBaseProgram * program)
|
|||
gst_pad_push_event (stream->pad, gst_event_new_gap (0, 0));
|
||||
}
|
||||
}
|
||||
if (stream->pad)
|
||||
gst_pad_push_event (stream->pad,
|
||||
gst_event_new_stream_collection (program->collection));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2317,6 +2320,9 @@ gst_ts_demux_program_started (MpegTSBase * base, MpegTSBaseProgram * program)
|
|||
GST_DEBUG_OBJECT (stream->pad, "sparse stream, pushing GAP event");
|
||||
gst_pad_push_event (stream->pad, gst_event_new_gap (0, 0));
|
||||
}
|
||||
if (stream->pad)
|
||||
gst_pad_push_event (stream->pad,
|
||||
gst_event_new_stream_collection (program->collection));
|
||||
}
|
||||
|
||||
gst_element_no_more_pads ((GstElement *) demux);
|
||||
|
|
Loading…
Reference in a new issue