tagdemux: preserve duration when skipping a tag at the beginning of a buffer
authorMichael Olbrich <m.olbrich@pengutronix.de>
Fri, 17 Jun 2016 13:11:20 +0000 (15:11 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 21 Jun 2016 07:43:50 +0000 (10:43 +0300)
commit72879c3639f608be526359727e53f0e99d095e65
tree75e8e9df93cfd0ef9e09384f455a2de8a0bac84f
parent26f63db498facc0c489503175463be53dec833b9
tagdemux: preserve duration when skipping a tag at the beginning of a buffer

gst_buffer_copy_region() does not copy the duration if it doesn't start
with the first byte. We just skip the tag here, so the duration is still
valid.

https://bugzilla.gnome.org/show_bug.cgi?id=767791
gst-libs/gst/tag/gsttagdemux.c