Apply a hack and push the frame several times when changing fullscreen.

This commit is contained in:
Themaister 2011-10-20 23:28:46 +02:00
parent 5d1d188231
commit f46ee78c76
1 changed files with 7 additions and 3 deletions

10
ssnes.c
View File

@ -200,9 +200,13 @@ static void video_cached_frame(void)
// It would be really stupid at any rate ... // It would be really stupid at any rate ...
if (g_extern.frame_cache.data) if (g_extern.frame_cache.data)
{ {
video_frame(g_extern.frame_cache.data, // Push the pipeline through. A hack sort of.
g_extern.frame_cache.width, for (unsigned i = 0; i < 3; i++)
g_extern.frame_cache.height); {
video_frame(g_extern.frame_cache.data,
g_extern.frame_cache.width,
g_extern.frame_cache.height);
}
} }
#ifdef HAVE_FFMPEG #ifdef HAVE_FFMPEG