qtmux: Do not infer DTS on buffers from sparse streams.
authorMatej Knopp <matej.knopp@gmail.com>
Tue, 23 Sep 2014 21:33:37 +0000 (23:33 +0200)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 24 Sep 2014 01:25:47 +0000 (22:25 -0300)
commit9f85dfd733792dc5a49acd32f657c326812dc9af
tree8de04f7de929d8aebf8023f61cb570f5aead23c3
parent36140ccf693a90bbc0256a00629063ea9ae00c9b
qtmux: Do not infer DTS on buffers from sparse streams.

DTS delta is used to calculate sample duration. If buffer has missing DTS, we take either segment start or previous buffer end time, whichever is later.
This must only be done for non sparse streams, sparse streams can have gaps between buffers (which is handled later by adding extra empty buffer with duration that fills the gap)

https://bugzilla.gnome.org/show_bug.cgi?id=737095
gst/isomp4/gstqtmux.c