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

Michael Niedermayer michaelni
Thu Feb 26 22:14:24 CET 2009


On Thu, Feb 26, 2009 at 10:05:28PM +0100, Ivan Schreter wrote:
> 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?

yes, patch ok

btw, if you want a svn write account, (and agree to the devel/svn policy
and split patches a little more, this one should be
factorizing the code and then seperately adding the new call)
then send diego b. some username & password gpg encrypted

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20090226/ac0148c9/attachment.pgp>



More information about the ffmpeg-devel mailing list