提交 79f2c426 编写于 作者: A Anton Khirnov

dv: do not set codec timebase

It is not supposed to be set from outside of libavcodec.
Set average framerate instead.
上级 93afb6c9
......@@ -277,7 +277,7 @@ static int dv_extract_video_info(DVDemuxContext *c, uint8_t *frame)
avpriv_set_pts_info(c->vst, 64, c->sys->time_base.num,
c->sys->time_base.den);
avctx->time_base = c->sys->time_base;
c->vst->avg_frame_rate = av_inv_q(c->vst->time_base);
if (!avctx->width) {
avctx->width = c->sys->width;
avctx->height = c->sys->height;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册