qtdemux: rework segment event pushing
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 26 Apr 2016 17:34:16 +0000 (14:34 -0300)
committerThiago Santos <thiagossantos@gmail.com>
Fri, 25 May 2018 15:34:29 +0000 (08:34 -0700)
commitbfd0e0225ec1e82637a2c6419f94c46e750733c1
tree64269b21d41e7f365ded6cff94292738a747b296
parent43a540b1cd9f162d3dae5d50e36703dfaf558a3e
qtdemux: rework segment event pushing

Instead of always keeping a safe segment (start=0) event from the beginning,
delay the creation of this event to when we really know the timestamp of the
first sample. This is important to properly start fragmented streams that
we might join in the middle or to play isolated fragment files that might
have an advanced tfdt.

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