Apply a hack and push the frame several times when changing fullscreen.
This commit is contained in:
parent
5d1d188231
commit
f46ee78c76
4
ssnes.c
4
ssnes.c
|
@ -199,11 +199,15 @@ static void video_cached_frame(void)
|
||||||
// freed the memory, but no known implementations do this :D
|
// freed the memory, but no known implementations do this :D
|
||||||
// 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)
|
||||||
|
{
|
||||||
|
// Push the pipeline through. A hack sort of.
|
||||||
|
for (unsigned i = 0; i < 3; i++)
|
||||||
{
|
{
|
||||||
video_frame(g_extern.frame_cache.data,
|
video_frame(g_extern.frame_cache.data,
|
||||||
g_extern.frame_cache.width,
|
g_extern.frame_cache.width,
|
||||||
g_extern.frame_cache.height);
|
g_extern.frame_cache.height);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HAVE_FFMPEG
|
#ifdef HAVE_FFMPEG
|
||||||
g_extern.recording = recording;
|
g_extern.recording = recording;
|
||||||
|
|
Loading…
Reference in New Issue