mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
Holy crap, now that was painful.
This commit is contained in:
parent
ea7dded915
commit
d3e0140f01
@ -116,7 +116,7 @@ static bool init_video(struct video_info *video, struct ffemu_params *param)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Allocate a big buffer :p ffmpeg API doesn't seem to give us some clues how big this buffer should be.
|
// 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);
|
video->outbuf = av_malloc(video->outbuf_size);
|
||||||
|
|
||||||
// Just to make sure we can handle the biggest frames. Seemed to crash with just 256 * 224.
|
// Just to make sure we can handle the biggest frames. Seemed to crash with just 256 * 224.
|
||||||
|
4
ssnes.c
4
ssnes.c
@ -769,8 +769,8 @@ static void init_recording(void)
|
|||||||
struct ffemu_params params = {
|
struct ffemu_params params = {
|
||||||
.out_width = 256,
|
.out_width = 256,
|
||||||
.out_height = 224,
|
.out_height = 224,
|
||||||
.fb_width = 512,
|
.fb_width = 1024,
|
||||||
.fb_height = 448,
|
.fb_height = 512,
|
||||||
.channels = 2,
|
.channels = 2,
|
||||||
.samplerate = 32000,
|
.samplerate = 32000,
|
||||||
.filename = g_extern.record_path,
|
.filename = g_extern.record_path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user