[Ffmpeg-devel] [Fwd: Is AVFrame->pts really set by libavcodec when decoding?]
Luca Abeni
lucabe72
Thu Apr 19 09:24:11 CEST 2007
Hi Michael,
Michael Niedermayer wrote:
[...]
>> If I find the time, I'll try to prepare a patch for this. Where should
>> the timestamp be set? (in the decoder, in the generic - util.c - code,
>> in the parser, or...?)
>
> avcodec_get_frame_defaults() already sets it to AV_NOPTS_VALUE, if it
> becomes 0 it either was overriden or the AVFrame was not properly allocated
Ok; so, maybe the bug is in ffmpeg.c... I'll have a look later.
Thanks,
Luca
More information about the ffmpeg-devel
mailing list