qtdemux: rework segment event handling for adaptive streaming
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 8 Jul 2015 18:02:24 +0000 (15:02 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 9 Jul 2015 02:23:53 +0000 (23:23 -0300)
commit30b3aa30300403f0f64df505d9c368c2e212e046
treecef315151cebbfd6c878116742f9ea2f4494dbe1
parent38520a1e122928030b69374b88b8888cc556bab3
qtdemux: rework segment event handling for adaptive streaming

When a new time segment is received upstream is going to restart
with a new atom. Make the neededbytes and todrop variables
reflect that to avoid waiting too much or dropping the
initial bytes that contain the header.
gst/isomp4/qtdemux.c