yolobs-studio/plugins/decklink/linux/platform.cpp

13 lines
216 B
C++
Raw Normal View History

2016-02-23 23:16:51 +00:00
#include "../platform.hpp"
2019-09-22 21:19:10 +00:00
bool DeckLinkStringToStdString(decklink_string_t input, std::string &output)
2016-02-23 23:16:51 +00:00
{
if (input == nullptr)
return false;
output = std::string(input);
free((void *)input);
return true;
}