vlc | branch: master | Hugo Beauzée-Luyssen <h...@beauzee.fr> | Wed Feb 15 
15:01:26 2017 +0100| [775feb608d8c1c35f59788a645f6a7f8b0bf3dc7] | committer: 
Hugo Beauzée-Luyssen

chromecast: Log the generated sout chain

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

 modules/stream_out/chromecast/cast.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/chromecast/cast.cpp 
b/modules/stream_out/chromecast/cast.cpp
index cb00a03..2b9ccf1 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -306,9 +306,11 @@ int sout_stream_sys_t::UpdateOutput( sout_stream_t 
*p_stream )
                 sout = "";
             }
 
-            p_out = sout_StreamChainNew( p_stream->p_sout, 
ssout.str().c_str(), NULL, NULL);
+            const std::string chain = ssout.str();
+            msg_Dbg( p_stream, "Creating chain %s", chain.c_str() );
+            p_out = sout_StreamChainNew( p_stream->p_sout, chain.c_str(), 
NULL, NULL);
             if (p_out == NULL) {
-                msg_Dbg(p_stream, "could not create sout chain:%s", 
ssout.str().c_str());
+                msg_Dbg(p_stream, "could not create sout chain:%s", 
chain.c_str());
                 return VLC_EGENERIC;
             }
             sout = ssout.str();

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to