bin: Don't consider having a group-id or being STREAM_START if we have not a single...
authorSebastian Dröge <sebastian@centricular.com>
Fri, 24 Jan 2020 21:56:32 +0000 (23:56 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 24 Jan 2020 22:02:20 +0000 (00:02 +0200)
commit47765e164b909d1531bc0b2be0d382d4953d4a89
treeef331e75007c0c313305657e8e1fe28c2253324f
parent1b2f968efc53f52721053378cee9b114ba10236d
bin: Don't consider having a group-id or being STREAM_START if we have not a single STREAM_START message

This would cause us to set GST_GROUP_ID_INVALID as group-id in the
aggregated STREAM_START message if there are no sinks at all or none of
them have a STREAM_START message, which is simply wrong.

If we have not a single STREAM_START message then the bin should not be
considered STREAM_START.
gst/gstbin.c