Mercurial > mplayer.hg
changeset 33707:d5d3d2c6b6e3
Increase video muxer output frame size.
A user experienced broken encode when using ffvhuf with HD material.
8MB should be enough for raw 1920x1080 32bpp frame.
author | iive |
---|---|
date | Sat, 02 Jul 2011 17:13:26 +0000 |
parents | 489f118781b7 |
children | 54426d9f8544 |
files | mencoder.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mencoder.c Sat Jul 02 08:17:45 2011 +0000 +++ b/mencoder.c Sat Jul 02 17:13:26 2011 +0000 @@ -835,7 +835,7 @@ 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;