Merge pull request #8487 from lioncash/video-fmt

VideoCommon: Make use of fmt outside of shader generators
This commit is contained in:
Anthony
2019-11-28 15:03:23 -08:00
committed by GitHub
12 changed files with 201 additions and 182 deletions

View File

@ -9,6 +9,8 @@
#include <sstream>
#include <string>
#include <fmt/format.h>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
@ -232,9 +234,7 @@ bool FrameDump::CreateVideoFile()
return false;
}
OSD::AddMessage(
StringFromFormat("Dumping Frames to \"%s\" (%dx%d)", dump_path.c_str(), s_width, s_height));
OSD::AddMessage(fmt::format("Dumping Frames to \"{}\" ({}x{})", dump_path, s_width, s_height));
return true;
}