[vlc-commits] sout: sdi: fix missing include

Devin Heitmueller git at videolan.org
Tue Oct 2 18:46:03 CEST 2018


vlc | branch: master | Devin Heitmueller <dheitmueller at ltnglobal.com> | Thu Sep  6 16:16:06 2018 -0400| [67b3201e586439a058a31dfcb65a7fb3288408ea] | committer: Francois Cartegnie

sout: sdi: fix missing include

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>
Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=67b3201e586439a058a31dfcb65a7fb3288408ea
---

 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
 {



More information about the vlc-commits mailing list