mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-14 08:48:55 +00:00
ffmpeg: forward r_frame_rate to the muxer in case of stream copy
Fixes Ticket3629 part2 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
add46edf33
commit
28a6f970f6
1
ffmpeg.c
1
ffmpeg.c
@ -2740,6 +2740,7 @@ static int transcode_init(void)
|
||||
sar = dec_ctx->sample_aspect_ratio;
|
||||
ost->st->sample_aspect_ratio = enc_ctx->sample_aspect_ratio = sar;
|
||||
ost->st->avg_frame_rate = ist->st->avg_frame_rate;
|
||||
ost->st->r_frame_rate = ist->st->r_frame_rate;
|
||||
break;
|
||||
case AVMEDIA_TYPE_SUBTITLE:
|
||||
enc_ctx->width = dec_ctx->width;
|
||||
|
Loading…
x
Reference in New Issue
Block a user