encoders/handlers/debug: Always return something in to_string (#354)

This commit is contained in:
Daniel Molkentin 2020-10-09 20:28:11 +02:00 committed by GitHub
parent bb3dcf73ac
commit 36450f2560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,10 @@ using namespace streamfx::encoder::ffmpeg::handler;
void debug_handler::get_defaults(obs_data_t*, const AVCodec*, AVCodecContext*, bool) {} void debug_handler::get_defaults(obs_data_t*, const AVCodec*, AVCodecContext*, bool) {}
template<typename T> template<typename T>
std::string to_string(T value){}; std::string to_string(T value)
{
return std::string("Error: to_string not implemented for this type!");
};
template<> template<>
std::string to_string(int64_t value) std::string to_string(int64_t value)