aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_asr.c
diff options
context:
space:
mode:
authorNicolas Gaullier <nicolas.gaullier@cji.paris>2024-09-03 10:02:30 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-04 13:01:37 +0200
commitee9ae4e8ba167b52267aa3e35d8fc2770316769f (patch)
tree26d30a26a88861f1fdc501304775ecf37f334acb /libavfilter/af_asr.c
parentc14573a4d289fa10ab5bfda6f7a75b32478cdc21 (diff)
downloadffmpeg-ee9ae4e8ba167b52267aa3e35d8fc2770316769f.tar.gz
fftools/ffmpeg: Fix honor -r output option with streamcopy
Fix "ost->st->avg_frame_rate = ost->frame_rate" in streamcopy_init() being reset to input's frame rate a few lines below. Note that in current code, there are some discrepancies amongst the muxers. For example, avienc relies on time_base, so it is not affected by this patch, whereas mxfenc and matroskaenc do use avg_frame_rate, so this patch fixes -r being honored. In the updated fate test, the input is (wrongly) probed as 50fps. With this patch, the correct value (25fps) is successfully forced with -r. Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/af_asr.c')
0 files changed, 0 insertions, 0 deletions