adaptivedemux: Don't switch streams and expose pads while downloading.
authorJan Schmidt <jan@centricular.com>
Wed, 13 Jul 2016 13:02:10 +0000 (23:02 +1000)
committerJan Schmidt <jan@centricular.com>
Fri, 15 Jul 2016 04:33:23 +0000 (14:33 +1000)
commit963a273f61dfbd1229a9e7a2ed970deac467e7ef
treebba208885bc9e73cbcae62bdad9e8241da466777
parent62ca319927c15c984fb587e357cfbbf994eca717
adaptivedemux: Don't switch streams and expose pads while downloading.

If other stream fragments are still downloading but new streams
have been scheduled, don't expose them yet - wait until the last
one finishes. Otherwise, we can cancel a partially downloaded
auxilliary stream and cause a gap.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c