mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fix builds with FFMPEG disabled
This commit is contained in:
parent
4422af1272
commit
628af9d564
3 changed files with 33 additions and 29 deletions
|
@ -288,16 +288,16 @@ void FrameDumper::StopFrameDumpToFFMPEG()
|
|||
|
||||
#else
|
||||
|
||||
bool FrameDump::StartFrameDumpToFFMPEG(const FrameData&)
|
||||
bool FrameDumper::StartFrameDumpToFFMPEG(const FrameData&)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void FrameDump::DumpFrameToFFMPEG(const FrameData&)
|
||||
void FrameDumper::DumpFrameToFFMPEG(const FrameData&)
|
||||
{
|
||||
}
|
||||
|
||||
void FrameDump::StopFrameDumpToFFMPEG()
|
||||
void FrameDumper::StopFrameDumpToFFMPEG()
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -352,4 +352,10 @@ bool FrameDumper::IsFrameDumping() const
|
|||
return false;
|
||||
}
|
||||
|
||||
void FrameDumper::DoState(PointerWrap& p)
|
||||
{
|
||||
#ifdef HAVE_FFMPEG
|
||||
m_ffmpeg_dump.DoState(p);
|
||||
#endif
|
||||
}
|
||||
std::unique_ptr<FrameDumper> g_frame_dumper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue