qtdemux: When receiving a DISCONT buffer that does not point to a sample, remember...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 28 Jul 2016 14:58:16 +0000 (17:58 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 28 Jul 2016 14:58:16 +0000 (17:58 +0300)
commit45db90fdb03ea53484f331deb4989c303fe8bbcb
treec8469e2ca6fc5f32e7cb2ea3e90adee445b187c9
parent3010d1ec2d8324fc28b2e396feb32175f62e7055
qtdemux: When receiving a DISCONT buffer that does not point to a sample, remember the offset

And don't just reset everything. This makes sure that we can continue to
handle data in the following scenario:

moov: discont
moof: discont
mdat: continuous

Previously this would fail because the offset would be the accumulated offset
from moov and moof at the mdat position, while the buffer offset might be
something completely different.
gst/isomp4/qtdemux.c