[Bug 684790] isomp4/qtdemux: Whenever a moov atom is found, restart the demuxer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 17 09:26:33 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=684790

--- Comment #36 from Seungha Yang <sh.yang at lge.com> ---
(In reply to Edward Hervey from comment #35)
> Review of attachment 349907 [details] [review]:

> You can only re-use streams dynamically within elements that support it
> (parsebin, decodebin3,...).
> 
> You need to check for that to do so. Checkout tsdemux for reference.

Thanks for detailed review

Can I ask some stupid question? :) 
Roughly, my understanding about your suggestion is
- check GST_BIN_FLAG_STREAMS_AWARE to know whether parent bin can support
dynamic stream change.

Then,
if it's supported (playbin3 case), re-use reusable streams and expose/remove
only necessary streams.
otherwise (playbin case), expose all new streams and remove all the previous
streams with no-more-pads signal

Is it correct understanding?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list