qtdemux: Improve framerate calculation/guessing
authorJan Schmidt <jan@centricular.com>
Thu, 14 Aug 2014 15:12:20 +0000 (01:12 +1000)
committerJan Schmidt <jan@centricular.com>
Thu, 14 Aug 2014 15:12:20 +0000 (01:12 +1000)
commitca068865c391e87932b1268d0c675be233dd2ffe
tree6b659bebec325b0d518802b1f731ed94c082d22f
parentce1d4d9f21e0681f3c6025ffb27b1ae625329b11
qtdemux: Improve framerate calculation/guessing

Change the way the output framerate is calculated
to ignore the first sample (which is sometimes truncated
in my testing) and use the new gst_video_guess_framerate()
function to recognise common standard framerates better.

Remove the code that was sorting the first 20 sample
durations and then ignoring the result.
gst/isomp4/Makefile.am
gst/isomp4/qtdemux.c