• Seungha Yang's avatar
    qtdemux: fix framerate calculation for fragmented format · 7873bede
    Seungha Yang authored
    qtdemux calculates framerate using duration and the number of sample.
    In case of fragmented mp4 format, however, the number of sample can
    be figure out after parsing every moof box. Because qtdemux does not
    parse every moof in QTDEMUX_STATE_HEADER state, it will cause incorrect
    framerate calculation.
    
    This patch will triger gst_qtdemux_configure_stream() for every new moof.
    Then, framerate will be calculated by using duration and n_samples of the moof.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760774
    7873bede
Name
Last commit
Last update
..
LEGAL Loading commit data...
Makefile.am Loading commit data...
atoms.c Loading commit data...
atoms.h Loading commit data...
atomsrecovery.c Loading commit data...
atomsrecovery.h Loading commit data...
descriptors.c Loading commit data...
descriptors.h Loading commit data...
fourcc.h Loading commit data...
gstisoff.c Loading commit data...
gstisoff.h Loading commit data...
gstqtmoovrecover.c Loading commit data...
gstqtmoovrecover.h Loading commit data...
gstqtmux-doc.c Loading commit data...
gstqtmux-doc.h Loading commit data...
gstqtmux.c Loading commit data...
gstqtmux.h Loading commit data...
gstqtmuxmap.c Loading commit data...
gstqtmuxmap.h Loading commit data...
gstrtpxqtdepay.c Loading commit data...
gstrtpxqtdepay.h Loading commit data...
isomp4-plugin.c Loading commit data...
properties.c Loading commit data...
properties.h Loading commit data...
qtatomparser.h Loading commit data...
qtdemux.c Loading commit data...
qtdemux.h Loading commit data...
qtdemux.vcproj Loading commit data...
qtdemux_dump.c Loading commit data...
qtdemux_dump.h Loading commit data...
qtdemux_lang.c Loading commit data...
qtdemux_lang.h Loading commit data...
qtdemux_types.c Loading commit data...
qtdemux_types.h Loading commit data...
qtpalette.h Loading commit data...