GNOME Bugzilla – Bug 765729
qtdemux: Always set a group-id on STREAM_START
Last modified: 2016-04-28 14:57:39 UTC
See commit
Created attachment 326947 [details] [review] qtdemux: Always set a group-id on STREAM_START If upstream doesn't provide one (or we are pull-based), create one And while we're at it, just use a local variable
Review of attachment 326947 [details] [review]: ::: gst/isomp4/qtdemux.c @@ +7345,3 @@ + /* Get the group id from upstream, or create one */ + if (!event || !gst_event_parse_group_id (event, &group_id)) + group_id = gst_util_group_id_next (); It should have the same group-id for all streams in the container, and only increase the group id when the next container is played (i.e. forget it also when going back from PAUSED to READY). That's why it was stored in the demuxer struct before.