qtdemux: extend edit list when fragmented
authorMatthew Waters <matthew@centricular.com>
Thu, 25 Jun 2020 06:30:28 +0000 (16:30 +1000)
committerMatthew Waters <matthew@centricular.com>
Mon, 21 Sep 2020 02:08:14 +0000 (12:08 +1000)
commit2b9c465643bdaa1cb4258fd0dde7f42f0e88acfb
tree53d66fcb923d6c3e9dd01553e4cdc3dd571c03ac
parent64e89e43aa348194c025780a0593982ba8aa000b
qtdemux: extend edit list when fragmented

When we are fragmented, the edit list may only refer to the portion of
the media that is in the moov.  Extend the edit list stop time when we
if there is only one qt segment and we are reading a fragmented file.

Fixes playback of some fragmented mp4 files generated by proprietary
programs.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/643>
gst/isomp4/qtdemux.c