diff options
author | James Almer <jamrial@gmail.com> | 2016-06-06 01:14:11 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-06-07 20:32:25 -0300 |
commit | 49b024663501320310ec729f3bd15d0420bd9e59 (patch) | |
tree | 11053235fd367d7b28e63f8c79c4486a32e3ac4c /libavfilter/vf_subtitles.c | |
parent | 27c1eae55f24e9ed005a6634cd4ddd867118fa48 (diff) | |
download | ffmpeg-49b024663501320310ec729f3bd15d0420bd9e59.tar.gz |
avformat/matroskadec: force 48kHz sample rate when rescaling Opus inital padding
Mkvtoolnix stores the sample rate of the original stream as reported by the
"OpusHead" stream header instead of 48kHz, the actual sample rate of the Opus
stream.
Ignoring the stored sample rate and forcing 48kHz preserves the correct initial
padding when remuxing such files.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_subtitles.c')
0 files changed, 0 insertions, 0 deletions