mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.1
parent
c14573a4d2
commit
ee9ae4e8ba
2 changed files with 1 additions and 2 deletions
@ -1 +1 @@ |
||||
b28d4ca13029fdc80a114b56467be9d7 |
||||
69ffc45e19ab070bc3e964d7b718fe53 |
||||
|
Loading…
Reference in new issue