GNOME Bugzilla – Bug 777522
parsebin: Clear drained mark with FLUSH_STOP
Last modified: 2018-11-03 11:53:54 UTC
A demuxer might re-expose source pads during playback (e.g., program update in tsdemux). When pads are re-exposed, EOS event will be pushed to the old source pads by demuxer, and group switching is triggered by the EOS event. Note that the EOS will mark "drained" to chain/group and parsebin refers to the "drained" marks for chain/group switching. However, since the "drained" marks never be cleared once it was set, following sequence cannot be handled * demuxer pushed EOS and parsebin marked the chain/group as drained * seek event happened * demuxer source pads are re-exposed To handle above case, "drained" marks should be cleared by flush-stop
Created attachment 343863 [details] [review] parsebin: Clear drained mark with FLUSH_STOP
Created attachment 343864 [details] [review] parsebin: Clear drained mark with FLUSH_STOP
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/330.