提交 8431a6e6 编写于 作者: M Matthias Hunstock 提交者: Michael Niedermayer

decklink: fix: set fps on video stream v2

Provide the stream with the correct fps information when capturing.
Signed-off-by: NMatthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 be7150d4
......@@ -571,6 +571,7 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx)
st->time_base.den = ctx->bmd_tb_den;
st->time_base.num = ctx->bmd_tb_num;
av_stream_set_r_frame_rate(st, av_make_q(st->time_base.den, st->time_base.num));
if (cctx->v210) {
st->codecpar->codec_id = AV_CODEC_ID_V210;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册