Apply a hack and push the frame several times when changing fullscreen.
This commit is contained in:
parent
5d1d188231
commit
f46ee78c76
10
ssnes.c
10
ssnes.c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue