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

Thomas Guillem git at videolan.org
Wed Jan 16 12:53:04 CET 2019


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

sout: chromecast: don't set webm by default

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

 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