Increase video muxer output frame size.
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 2 Jul 2011 17:13:26 +0000 (17:13 +0000)
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 2 Jul 2011 17:13:26 +0000 (17:13 +0000)
A user experienced broken encode when using ffvhuf with HD material.
8MB should be enough for raw 1920x1080 32bpp frame.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@33795 b3059339-0415-0410-9bf9-f77b7e298cf2

mencoder.c

index 61c55c2..a844388 100644 (file)
@@ -835,7 +835,7 @@ muxer->audio_delay_fix = audio_delay_fix;
 
 mux_v=muxer_new_stream(muxer,MUXER_TYPE_VIDEO);
 
-mux_v->buffer_size=0x200000; // 2MB
+mux_v->buffer_size=0x800000; // 8MB
 mux_v->buffer=malloc(mux_v->buffer_size);
 
 mux_v->source=sh_video;