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 Michael Fabian 'Xaymar' Dirks
parent 2c8687f4b7
commit 3d5e752139

View file

@ -40,7 +40,10 @@ using namespace streamfx::encoder::ffmpeg::handler;
void debug_handler::get_defaults(obs_data_t*, const AVCodec*, AVCodecContext*, bool) {}
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<>
std::string to_string(int64_t value)