qtdemux: track streams that are EOS on push mode to finish earlier
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 5 Sep 2013 03:17:16 +0000 (00:17 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 10 Sep 2013 19:43:17 +0000 (16:43 -0300)
commitbe0eeae491eee25e80ef1116fb77ca8f9cb80842
tree621dbba4eba1116c160651f134c59ce1425059aa
parent33cf8b679dee66afe927cb7e5da446563a11dec6
qtdemux: track streams that are EOS on push mode to finish earlier

When the segment has a defined stop position, qtdemux should check
when streams reach this position and mark those as EOS. When all
streams are EOS it will return GST_FLOW_EOS to upstream to allow
the pipeline to finish instead of continuously consume buffers
from upstream that are not useful for the segment.

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