GNOME Bugzilla – Bug 739286
qtdemux: Update global duration on moov+moof files
Last modified: 2015-01-22 09:33:28 UTC
When reading fragmented files locally (or from an http server), we need to make sure we update the various "duration" information so that the file doesn't stop playing after the first fragment.
Created attachment 289508 [details] [review] qtdemux: Update global duration on moov+moof files
Already pushed a similar patch here : commit b40cfcfffb659138ed341badd6b76b02df4190b1 Author: Edward Hervey <bilboed@bilboed.com> Date: Wed Dec 10 16:55:44 2014 +0100 qtdemux: Update duration when we get more information When dealing with fragmented files, we will get more accurate duration information via the mfra and moof atoms. In order for playback to not stop at the initial duration (from the moov atom), we need to check and update the various duration variables when we find more information. Fixes playback of fragmented files in pull mode