Encode framedumps in AVI format on linux as on windows. This adds the additional dependency of libavformat-dev. Remember if you want raw framedumps as before add -DENCODE_FRAMEDUMPS=OFF to the cmake command line.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6438 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-11-18 16:46:17 +00:00
parent e1e43fa2a6
commit f8fbcecad6
4 changed files with 85 additions and 60 deletions

View File

@ -1124,12 +1124,8 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
else
{
OSD::AddMessage(StringFromFormat(
#ifdef _WIN32
"Dumping Frames to \"%sframedump0.avi\" (%dx%d RGB24)",
#else
"Dumping Frames to \"%sframedump.mpg\" (%dx%d RGB24)",
#endif
File::GetUserPath(D_DUMPFRAMES_IDX), w, h).c_str(), 2000);
"Dumping Frames to \"%sframedump0.avi\" (%dx%d RGB24)",
File::GetUserPath(D_DUMPFRAMES_IDX), w, h).c_str(), 2000);
}
}
if (s_bAVIDumping)