diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-17 21:42:02 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-18 12:24:43 +0400 |
commit | 79f2c426fde6e71c40b29504112d0528b85be623 (patch) | |
tree | f41be372f89fc2d43543a9467492b9b6b3197bdb /libavformat/dv.c | |
parent | 93afb6c98df876b15e3d911a9450ad55f92080ce (diff) |
dv: do not set codec timebase
It is not supposed to be set from outside of libavcodec.
Set average framerate instead.
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r-- | libavformat/dv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c index 5a1261a16d..2181405ab8 100644 --- a/libavformat/dv.c +++ b/libavformat/dv.c @@ -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; |