[FFmpeg-devel] [PATCH] h264 ticks and time base
Baptiste Coudurier
baptiste.coudurier
Mon Jun 15 07:42:11 CEST 2009
Hi,
1) Set avctx time_base in h264 parser.
2) Set avctx ticks_per_frame in h264 decoder.
I don't get this code in decode_init in h264.c
reset_sei(h);
if(avctx->codec_id == CODEC_ID_H264){
if(avctx->ticks_per_frame == 1){
s->avctx->time_base.den *=2;
}
avctx->ticks_per_frame = 2;
}
return 0;
avctx->ticks_per_frame is not set before calling the decoder
in any case. Should that be removed ?
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_ticks.patch
Type: text/x-diff
Size: 1332 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090614/4cd508f7/attachment.patch>
More information about the ffmpeg-devel
mailing list