• wm4's avatar
    avformat/matroskaenc: do not write timebase as framerate · 022d4a21
    wm4 authored
    If the API user doesn't set avg_frame_rate, matroskaenc will write the
    current timebase as "default duration" for the video track. This makes
    no sense, because the "default duration" implies the framerate of the
    video. Since the timebase is forced to 1/1000, this will make the
    resulting file claim 1000fps.
    
    Drop it and don't write the element. It's optional, so it's better not
    to write it if the framerate is unknown.
    
    Strangely does not require FATE changes.
    022d4a21
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...