[vlc-commits] sout: chromecast: don't set webm by default

Thomas Guillem git at videolan.org
Wed Jan 16 13:03:41 CET 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jan 15 17:15:01 2019 +0100| [98938560c82f5e6e43b7002e178eccdc94af6cf8] | committer: Steve Lhomme

sout: chromecast: don't set webm by default

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

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

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 2105a14073..fbcd33ac0e 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -1068,9 +1068,9 @@ bool sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
         ssout << "}:";
     }
 
-    const bool is_webm = ( i_codec_audio == 0 || i_codec_audio == VLC_CODEC_VORBIS ||
+    const bool is_webm = ( i_codec_audio == VLC_CODEC_VORBIS ||
                            i_codec_audio == VLC_CODEC_OPUS ) &&
-                         ( i_codec_video == 0 || i_codec_video == VLC_CODEC_VP8 ||
+                         ( i_codec_video == VLC_CODEC_VP8 ||
                            i_codec_video == VLC_CODEC_VP9 );
 
     if ( !p_original_video )



More information about the vlc-commits mailing list