qtmux: store last_dts of the first buffer
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 23 Jun 2015 01:22:09 +0000 (22:22 -0300)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Wed, 24 Jun 2015 02:34:35 +0000 (22:34 -0400)
commit1ec9a86e72e4b795a2126f0d337df808fae86f78
tree7ec6162d4159c37db9a6249b45ac925c03fca91f
parente44ce404555dfea16891b5a7a727955d860d0cdb
qtmux: store last_dts of the first buffer

Buffers need not to start at running-time 0 so the last_dts needs
to be the value of the first buffer's dts as it is used to compute
the duration of the buffers. If it was left at 0 the first buffer
would have a larger duration when it shouldn't

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