qtdemux: flush samples before adding more from moof
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 8 Jul 2015 02:53:02 +0000 (23:53 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 8 Jul 2015 14:53:44 +0000 (11:53 -0300)
commitee7ddf6c678afb24f5f7419311c9ea461322c9b3
treee06224b66a14f08115494956b8ab6850d0a2e02b
parent6ee4b31c0e67af952d8848f67460ba8aae10d2d9
qtdemux: flush samples before adding more from moof

Avoids accumulating all samples from a fragmented stream that could
lead to a 'index-too-big' error once it goes over 50MB of data. It
could reach that before 2h of playback so it doesn't take that long.

As upstream elements are providing data in time format they should
be the ones that have more information about the full media index
and should be able to seek if possible.
gst/isomp4/qtdemux.c