[FFmpeg-devel] [PATCH] connect AVCodecContext.rtp_payload_size to x264_params_t.i_slice_max_size
Erik Slagter
erik
Wed Dec 16 18:03:50 CET 2009
On di, 2009-12-08 at 18:28 +0100, Erik Slagter wrote:
> > Tabs are not allowed in FFmpeg svn.
>
> O yes I know... And still managed to not remove all of them, no matter
> how careful :-(
>
> New attempt.
>
> Index: libavcodec/libx264.c
> ===================================================================
> --- libavcodec/libx264.c (revision 20760)
> +++ libavcodec/libx264.c (working copy)
> @@ -278,6 +279,7 @@
> x4->params.i_threads = avctx->thread_count;
>
> x4->params.b_interlaced = avctx->flags & CODEC_FLAG_INTERLACED_DCT;
> + x4->params.i_slice_max_size = avctx->rtp_payload_size;
>
> if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER)
> x4->params.b_repeat_headers = 0;
Ping?
More information about the ffmpeg-devel
mailing list