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

Michael Niedermayer michaelni
Mon Feb 9 20:50:29 CET 2009

On Mon, Feb 09, 2009 at 05:40:45PM +0100, Ivan Schreter wrote:
> 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.

looks ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090209/f2c5d636/attachment.pgp>

More information about the ffmpeg-devel mailing list