On Sat, Aug 16, 2008 at 09:16:02AM +0200, kostya wrote:
> Author: kostya
> Date: Sat Aug 16 09:16:02 2008
> New Revision: 3344
> 
> Log:
> Brand AAC stream again and again so users will know what encoder to blame
> 
> Modified:
>    aacenc/aacenc.c
> 
> Modified: aacenc/aacenc.c
> ==============================================================================
> --- aacenc/aacenc.c   (original)
> +++ aacenc/aacenc.c   Sat Aug 16 09:16:02 2008
> @@ -795,7 +795,7 @@ static int aac_encode_frame(AVCodecConte
>      }
>  
>      init_put_bits(&s->pb, frame, buf_size*8);
> -    if(avctx->frame_number==1 && !(avctx->flags & CODEC_FLAG_BITEXACT)){
> +    if((avctx->frame_number & 0xFF)==1 && !(avctx->flags & 
> CODEC_FLAG_BITEXACT)){
>          put_bitstream_info(avctx, s, LIBAVCODEC_IDENT);
>      }

use gop_size if possible (that is if it works)

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

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to