mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
encoders/handlers/debug: Always return something in to_string (#354)
This commit is contained in:
parent
2c8687f4b7
commit
3d5e752139
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue