qtmux: Un-merge the last two stsc entries after serializing
authorSebastian Dröge <sebastian@centricular.com>
Thu, 15 Jun 2017 08:50:44 +0000 (11:50 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 15 Jun 2017 08:53:05 +0000 (11:53 +0300)
commit0421fb04470af90e8810e7e5e69955d3192896ba
tree477a0284309b1bb3acff1c530e0dfd088c30a298
parent0914f7daceb01daa70c3eff248776722ca4ad566
qtmux: Un-merge the last two stsc entries after serializing

The last entry will most likely get new samples added to it in "robust"
muxing mode, changing the samples_per_chunk and thus making it wrong to
keep the last two entries merged. It will run into an assertion later
when adding a new sample to the chunk.

Thanks to gdiener@cardinalpeak.com for the analysis of the bug and
proposal for a solution.
gst/isomp4/atoms.c