[vlc-devel] [PATCH] chromecast: Work around protobuf library unload bug
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Fri Sep 8 17:33:38 CEST 2017
fix #18329
---
modules/stream_out/chromecast/cast.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index b4b1fd9a84..e6784c1588 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -132,6 +132,9 @@ vlc_module_begin ()
add_string(SOUT_CFG_PREFIX "mux", DEFAULT_MUXER, MUX_TEXT, MUX_LONGTEXT, false)
add_string(SOUT_CFG_PREFIX "mime", "video/x-matroska", MIME_TEXT, MIME_LONGTEXT, false)
+ // libprotobuf cannot be unloaded multiple time by the same program.
+ cannot_unload_broken_library()
+
vlc_module_end ()
--
2.11.0
More information about the vlc-devel
mailing list