From 14bea432f16d7c66f9099e427819028b6b4c3bdc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 12 Mar 2003 15:16:19 +0000 Subject: per context frame_rate_base, this should finally fix frame_rate related av sync issues Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/dv1394.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/dv1394.c') diff --git a/libavformat/dv1394.c b/libavformat/dv1394.c index 7048c34..31d583c 100644 --- a/libavformat/dv1394.c +++ b/libavformat/dv1394.c @@ -138,7 +138,8 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap vst->codec.codec_id = CODEC_ID_DVVIDEO; vst->codec.width = dv->width; vst->codec.height = dv->height; - vst->codec.frame_rate = dv->frame_rate * FRAME_RATE_BASE; + vst->codec.frame_rate = dv->frame_rate; + vst->codec.frame_rate_base = 1; vst->codec.bit_rate = 25000000; /* Consumer DV is 25Mbps */ ast->codec.codec_type = CODEC_TYPE_AUDIO; -- cgit v1.1