summaryrefslogtreecommitdiff
path: root/libavformat/dv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-18 14:53:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-18 14:53:41 +0200
commitb06741d26794fd5ef2cd4e6b390c5ba7347e6a4e (patch)
treec1b36e109024d46b9dfa58f70c6fa7c0c710c91d /libavformat/dv.c
parent8334850a9985dde0e11227902fb007b382aa97e6 (diff)
parent79f2c426fde6e71c40b29504112d0528b85be623 (diff)
downloadffmpeg-b06741d26794fd5ef2cd4e6b390c5ba7347e6a4e.tar.gz
Merge commit '79f2c426fde6e71c40b29504112d0528b85be623'
* commit '79f2c426fde6e71c40b29504112d0528b85be623': dv: do not set codec timebase Conflicts: libavformat/dv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r--libavformat/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c
index f972478f69..4a32dd1e47 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -288,7 +288,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);
/* finding out SAR is a little bit messy */
vsc_pack = dv_extract_pack(frame, dv_video_control);