When using the "Start Renderer in Fullscreen" option, really start in fullscreen. In other words this now switches to fullscreen before the renderer is initiated instead of after. This is a partial fix for issue 4316.

Also, if the render window size changes while frame dumping, scale the resulting video to prevent clipping on linux.  This is a complete fix for issue 4316 on linux.  I don't know how to implement this on windows though.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7412 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-03-25 18:12:40 +00:00
parent df9f614b58
commit c99c247ed5
5 changed files with 24 additions and 31 deletions

View File

@ -984,7 +984,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
#ifdef _WIN32
AVIDump::AddFrame((char *) data);
#elif defined HAVE_LIBAV
AVIDump::AddFrame(data);
AVIDump::AddFrame(data, w, h);
#endif
Core::Callback_VideoCopiedToXFB(false);
return;
@ -1002,7 +1002,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
#ifdef _WIN32
AVIDump::AddFrame((char *) data);
#elif defined HAVE_LIBAV
AVIDump::AddFrame(data);
AVIDump::AddFrame(data, w, h);
#endif
Core::Callback_VideoCopiedToXFB(false);
return;
@ -1196,7 +1196,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
AVIDump::AddFrame((char *) data);
#else
FlipImageData(data, w, h);
AVIDump::AddFrame(data);
AVIDump::AddFrame(data, w, h);
#endif
}