adaptivedemux: On EOS, handle it before waking download loop
authorJan Schmidt <jan@centricular.com>
Wed, 3 Aug 2016 18:29:38 +0000 (04:29 +1000)
committerJan Schmidt <jan@centricular.com>
Wed, 3 Aug 2016 18:29:38 +0000 (04:29 +1000)
commit07f49f15b1196cc9fa0d45af91149a35fce123b9
tree66779deb2f64e80da4a060dfe6c309bffb0a0d87
parent2df53e5a7df3cdc18167d6949b082b10543f35fb
adaptivedemux: On EOS, handle it before waking download loop

Otherwise, if the download loop wakes too quickly, it
might miss the last_ret value update from the processing
thread and loop again.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c