[vlc-devel] [PATCH 1/2] SDIStream: Fix missing include

Devin Heitmueller dheitmueller at ltnglobal.com
Thu Sep 6 22:16:06 CEST 2018


The header refers to a std::string while not actually including	the
C++ string class.  This manifests as the following error seen on OSX:

DBMSDIOutput.cpp:75:38: error: implicit instantiation undefined
template 'std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >

Add in the missing header.

Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
---
 modules/stream_out/sdi/SDIStream.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/sdi/SDIStream.hpp b/modules/stream_out/sdi/SDIStream.hpp
index a09697fca0..668009ce50 100644
--- a/modules/stream_out/sdi/SDIStream.hpp
+++ b/modules/stream_out/sdi/SDIStream.hpp
@@ -26,6 +26,7 @@
 #include <vlc_codec.h>
 #include <queue>
 #include <mutex>
+#include <string>
 
 namespace sdi_sout
 {
-- 
2.13.2



More information about the vlc-devel mailing list