You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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:
1
ffmpeg.c
1
ffmpeg.c
@@ -2740,6 +2740,7 @@ static int transcode_init(void)
|
|||||||
sar = dec_ctx->sample_aspect_ratio;
|
sar = dec_ctx->sample_aspect_ratio;
|
||||||
ost->st->sample_aspect_ratio = enc_ctx->sample_aspect_ratio = sar;
|
ost->st->sample_aspect_ratio = enc_ctx->sample_aspect_ratio = sar;
|
||||||
ost->st->avg_frame_rate = ist->st->avg_frame_rate;
|
ost->st->avg_frame_rate = ist->st->avg_frame_rate;
|
||||||
|
ost->st->r_frame_rate = ist->st->r_frame_rate;
|
||||||
break;
|
break;
|
||||||
case AVMEDIA_TYPE_SUBTITLE:
|
case AVMEDIA_TYPE_SUBTITLE:
|
||||||
enc_ctx->width = dec_ctx->width;
|
enc_ctx->width = dec_ctx->width;
|
||||||
|
Reference in New Issue
Block a user