[vlc-commits] chromecast: lower vorbis encoding quality
Thomas Guillem
git at videolan.org
Fri Feb 23 08:29:47 CET 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 22 15:47:45 2018 +0100| [5496be2d53583b4a65deb9e2c26701f858f0a5ad] | committer: Thomas Guillem
chromecast: lower vorbis encoding quality
cf. comment
(cherry picked from commit f4b9db3795a115e49e42a798376163635b646de8)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=5496be2d53583b4a65deb9e2c26701f858f0a5ad
---
modules/stream_out/chromecast/cast.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 98bdf1dec7..5bdb39ca59 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -1066,8 +1066,11 @@ bool sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
vlc_fourcc_to_char( i_codec_audio, s_fourcc );
s_fourcc[4] = '\0';
ssout << s_fourcc << ',';
+
+ /* XXX: higher vorbis qualities can cause glitches on some CC
+ * devices (Chromecast 1 & 2) */
if( i_codec_audio == VLC_CODEC_VORBIS )
- ssout << "aenc=vorbis{quality=6},";
+ ssout << "aenc=vorbis{quality=4},";
new_transcoding_state |= TRANSCODING_AUDIO;
}
if ( i_codec_video == 0 && p_original_video )
More information about the vlc-commits
mailing list