qtdemux: Update duration when we get more information
authorEdward Hervey <bilboed@bilboed.com>
Wed, 10 Dec 2014 15:55:44 +0000 (16:55 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 10 Dec 2014 15:55:44 +0000 (16:55 +0100)
commitb40cfcfffb659138ed341badd6b76b02df4190b1
tree98963c20b3c123471f79d1e377d984ca046d2212
parent799609583eae635e58b83673e18e693dad6255a2
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
gst/isomp4/qtdemux.c