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
commit 4a0611df54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}