From 9c472e4e9eaa9844cef8771e12e52d7a563c33b1 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 21 Dec 2013 15:41:06 +0100 Subject: [PATCH] Disable recording if FFmpeg errors out. Or we segfault ... --- retroarch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/retroarch.c b/retroarch.c index 838108ac9f..58cc69c669 100644 --- a/retroarch.c +++ b/retroarch.c @@ -1320,6 +1320,7 @@ static void init_recording(void) if (!g_settings.video.gpu_record && g_extern.system.hw_render_callback.context_type) { RARCH_WARN("Libretro core is hardware rendered. Must use post-shaded FFmpeg recording as well.\n"); + g_extern.recording = false; return; }