[FFmpeg-cvslog] r11855 - in trunk: libavformat/nutenc.c tests/libav.regression.ref

Rich Felker dalias
Mon Feb 4 22:26:02 CET 2008


On Mon, Feb 04, 2008 at 11:45:33AM +0100, ods15 wrote:
> Author: ods15
> Date: Mon Feb  4 11:45:32 2008
> New Revision: 11855
> 
> Log:
> Fix intented algo in syncpoint writing before keyframes in NUT muxer
> 
> 
> Modified:
>    trunk/libavformat/nutenc.c
>    trunk/tests/libav.regression.ref
> 
> Modified: trunk/libavformat/nutenc.c
> ==============================================================================
> --- trunk/libavformat/nutenc.c	(original)
> +++ trunk/libavformat/nutenc.c	Mon Feb  4 11:45:32 2008
> @@ -462,7 +462,7 @@ static int write_packet(AVFormatContext 
>      if(1LL<<(20+3*nut->header_count) <= url_ftell(bc))
>          write_headers(nut, bc);
>  
> -    if(key_frame && !!(nus->last_flags & FLAG_KEY))
> +    if(key_frame && !(nus->last_flags & FLAG_KEY))

This could explain the insane overhead lavf's nut muxer was
generating... Have you tested to see if that's fixed now? :)

Rich




More information about the ffmpeg-cvslog mailing list