isomp4/qtmux: Write correct file duration when gaps exist.
authorJan Schmidt <jan@centricular.com>
Thu, 7 Aug 2014 17:58:14 +0000 (03:58 +1000)
committerJan Schmidt <jan@centricular.com>
Thu, 7 Aug 2014 18:01:19 +0000 (04:01 +1000)
commitd9e1aa4959352de29dd67f44bec749bf4fa15a34
tree7eea5dd40b2739197a5987992c6cae669f62f9d5
parentadd40de469dd691e09e818d725408d7670ae54b9
isomp4/qtmux: Write correct file duration when gaps exist.

When writing out a trak with an edit list, make sure the
overall file duration is also updated to reflect the
lengthening of the stream.

Add some more debug to qtdemux to warn about streams that
are longer than the file and get truncated.
gst/isomp4/gstqtmux.c
gst/isomp4/qtdemux.c