Holy crap, now that was painful.

This commit is contained in:
Themaister 2011-06-15 04:16:53 +02:00
parent ea7dded915
commit d3e0140f01
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ static bool init_video(struct video_info *video, struct ffemu_params *param)
return false;
// Allocate a big buffer :p ffmpeg API doesn't seem to give us some clues how big this buffer should be.
video->outbuf_size = 5000000;
video->outbuf_size = 2000000;
video->outbuf = av_malloc(video->outbuf_size);
// Just to make sure we can handle the biggest frames. Seemed to crash with just 256 * 224.

View File

@ -769,8 +769,8 @@ static void init_recording(void)
struct ffemu_params params = {
.out_width = 256,
.out_height = 224,
.fb_width = 512,
.fb_height = 448,
.fb_width = 1024,
.fb_height = 512,
.channels = 2,
.samplerate = 32000,
.filename = g_extern.record_path,