qtdemux: Properly reset demuxer when all streams are EOS
authorEdward Hervey <edward@centricular.com>
Thu, 13 Apr 2017 11:25:06 +0000 (13:25 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 13 Apr 2017 11:26:36 +0000 (13:26 +0200)
commitc6e9c67f63ccb87c61dfc348252ddbfc0866bb0f
treed15c66bb8022c385af5b0da65a87895e3e1a6871
parent8586150aec3becec63d5eb50230847853e82a996
qtdemux: Properly reset demuxer when all streams are EOS

Make sure offset and neededbytes are properly resetted when all
streams are EOS in push-mode.

Avoids cases when some data might still be pushed by upstream (because
it didn't yet see the resulting GST_FLOW_EOS yet) and qtdemux gets
completely lost.

https://bugzilla.gnome.org/show_bug.cgi?id=781266
gst/isomp4/qtdemux.c