提交 28a6f970 编写于 作者: M Michael Niedermayer

ffmpeg: forward r_frame_rate to the muxer in case of stream copy

Fixes Ticket3629 part2
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 add46edf
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册