[FFmpeg-devel] [PATCH] H.264/AVCHD interlaced fixes

Ivan Schreter schreter
Mon Feb 9 17:40:45 CET 2009


Michael Niedermayer wrote:
> On Mon, Feb 09, 2009 at 02:47:53PM +0100, Ivan Schreter wrote:
>   
> [...]
>> First I thought initializing it in frame_start() should do the trick. 
>> However, this is called only _after_ SEI recovery point is processed. 
>> There seems to be no good point where to initialize it.
>>
>> So where the hell can I put the initialization for this case?
>>     
>
> hmm, my first thought was to add the var to AVFrame, that would also
> output it which we may want one day but i think we dont have the AVFrame
> available yet.
> the other way you might try is reset it when a pic is done/output
>
>   
OK, changed. It is now reset after MPV_frame_end() was called and also 
reset during initialization/flush. Updated patch attached.

Regards,

Ivan



-------------- next part --------------
A non-text attachment was scrubbed...
Name: avchd_3_recovery_point.patch
Type: text/x-patch
Size: 2703 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090209/001f38c5/attachment.bin>



More information about the ffmpeg-devel mailing list