Commit f41198db authored by Sebastian Dröge's avatar Sebastian Dröge

decodebin3: Handle stream-start events without group id correctly

CID 1363327
parent daa0e18c
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment