[FFmpeg-cvslog] r13515 - trunk/libavcodec/dv.c
bcoudurier
subversion
Thu May 29 01:56:26 CEST 2008
Author: bcoudurier
Date: Thu May 29 01:56:25 2008
New Revision: 13515
Log:
set avctx time_base in dv decoder
Modified:
trunk/libavcodec/dv.c
Modified: trunk/libavcodec/dv.c
==============================================================================
--- trunk/libavcodec/dv.c (original)
+++ trunk/libavcodec/dv.c Thu May 29 01:56:25 2008
@@ -1046,6 +1046,7 @@ static int dvvideo_decode_frame(AVCodecC
s->picture.key_frame = 1;
s->picture.pict_type = FF_I_TYPE;
avctx->pix_fmt = s->sys->pix_fmt;
+ avctx->time_base = (AVRational){s->sys->frame_rate_base, s->sys->frame_rate};
avcodec_set_dimensions(avctx, s->sys->width, s->sys->height);
if(avctx->get_buffer(avctx, &s->picture) < 0) {
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
More information about the ffmpeg-cvslog
mailing list