[vlc-devel] [PATCH] chromecast: log which codec cannot be handled by the transcoder

Steve Lhomme robux4 at videolabs.io
Mon Jun 27 13:35:48 CEST 2016


---
 modules/stream_out/chromecast/cast.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 1bad9ec..05ac6ea 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -322,7 +322,7 @@ int sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
             p_sys_id->p_sub_id = sout_StreamIdAdd( p_out, &p_sys_id->fmt );
             if ( p_sys_id->p_sub_id == NULL )
             {
-                msg_Err( p_stream, "can't handle a stream" );
+                msg_Err( p_stream, "can't handle %4.4s stream", (char *)&p_sys_id->fmt.i_codec );
                 streams.erase( it, it );
             }
         }
-- 
2.8.2



More information about the vlc-devel mailing list