mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 20:35:12 +00:00
encoders/handlers/debug: Always return something in to_string (#354)
This commit is contained in:
parent
bb3dcf73ac
commit
36450f2560
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