decklink: Add Linux DeckLink project

The code specific to Linux helps convert `const char *` instances to
`std::string`s.
This commit is contained in:
Skyler Lipthay committed 2015-03-21 16:42:59 -07:00
1 parent c9ff86dd01
commit 70f8369ae3
4 files changed
+60 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#include "../platform.hpp"
bool DeckLinkStringToStdString(decklink_string_t input, std::string& output)
{
if (input == nullptr)
return false;
output = std::string(input);
free((void *)input);
return true;
}