qtmux: improve support for sparse streams
authorThiago Santos <ts.santos@sisa.samsung.com>
Fri, 7 Feb 2014 04:49:26 +0000 (01:49 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Fri, 7 Feb 2014 16:10:24 +0000 (13:10 -0300)
commitf89ba82f2998b50c42aa04fd5d507e7e137a69d8
tree0b48d113d4178ba5b34dc84932408255973b8dfc
parent99e966e2e15c62608b742a1e6011d31b88358f20
qtmux: improve support for sparse streams

Do not try to use subsequent buffer timestamps to calculate
sparse streams durations because the stream is sparse and
the buffers might not be 'time adjacent'. So rely on the
duration and give the option to the pad to provide
custom 'empty' buffers to represent the gaps in the
stream, this can vary on how the data is represented.

Right now, the only sparse stream supported is tx3g subtitles.
gst/isomp4/gstqtmux.c
gst/isomp4/gstqtmux.h