qtmux: fix subtitle buffer duration and strip null termination
authorMatej Knopp <matej.knopp@gmail.com>
Tue, 23 Sep 2014 17:07:25 +0000 (19:07 +0200)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 23 Sep 2014 18:25:28 +0000 (15:25 -0300)
commit669534158329fd69150987d1f8a6d3979b231057
tree5635da5c28d3854f50bf662902dca3c0c5f718b6
parentf57e9c4516b66d330165df9f4d6c82dc12d00be4
qtmux: fix subtitle buffer duration and strip null termination

Strip the \0 off the subtitle as we already know the size and also remember
to set the duration as buffer copying doesn't do it.

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