[FFmpeg-devel] [RFC][PATCH] ticks_per_frame / timebase

Ivan Schreter schreter
Thu Feb 26 22:05:28 CET 2009


Michael Niedermayer wrote:
> [...]
> also i think the reset of the sei vars should be in
> decode_nal_units()
> ...
>     if(!(s->flags2 & CODEC_FLAG2_CHUNKS)){
>         h->current_slice = 0;
>         if (!s->first_field)
>             s->current_picture_ptr= NULL;
>         <-----------------------here
>     }
>
> the reason is that just reseting at the end of a pic is "risky" if that end
> isnt reached
>
>   
Like in the attached patch?

Regards,

Ivan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_resetsei.patch
Type: text/x-patch
Size: 1878 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/d4195d08/attachment.bin>



More information about the ffmpeg-devel mailing list