diff options
author | wm4 <nfxjfg@googlemail.com> | 2018-04-28 19:24:12 +0200 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2018-05-04 14:16:38 +0200 |
commit | 022d4a2114d2586d4807f5810160f0f565ab80d7 (patch) | |
tree | e087938d420146e335e04257e34f86f30c5f793c /libavcodec/ac3.c | |
parent | dc7a8f731084d7ef2eac66c5d6af71c2ec78142c (diff) | |
download | ffmpeg-022d4a2114d2586d4807f5810160f0f565ab80d7.tar.gz |
avformat/matroskaenc: do not write timebase as framerate
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.
Diffstat (limited to 'libavcodec/ac3.c')
0 files changed, 0 insertions, 0 deletions