mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
decodebin3: Handle stream-start events without group id correctly
CID 1363327
This commit is contained in:
parent
daa0e18c75
commit
f41198db9d
1 changed files with 7 additions and 1 deletions
|
@ -206,7 +206,13 @@ parse_chain_output_probe (GstPad * pad, GstPadProbeInfo * info,
|
|||
{
|
||||
GstStream *stream = NULL;
|
||||
guint group_id = G_MAXUINT32;
|
||||
gst_event_parse_group_id (ev, &group_id);
|
||||
|
||||
if (!gst_event_parse_group_id (ev, &group_id)) {
|
||||
GST_FIXME_OBJECT (pad,
|
||||
"Consider implementing group-id handling on stream-start event");
|
||||
group_id = gst_util_group_id_next ();
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (pad, "Got stream-start, group_id:%d, input %p",
|
||||
group_id, input->input);
|
||||
if (set_input_group_id (input->input, &group_id)) {
|
||||
|
|
Loading…
Reference in a new issue