[vlc-commits] chromecast: lower vorbis encoding quality

2018-02-22 Thread Thomas Guillem
vlc/vlc-3.0 | branch: master | Thomas Guillem  | 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 

> 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 )

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


[vlc-commits] chromecast: lower vorbis encoding quality

2018-02-22 Thread Thomas Guillem
vlc | branch: master | Thomas Guillem  | Thu Feb 22 15:47:45 
2018 +0100| [f4b9db3795a115e49e42a798376163635b646de8] | committer: Thomas 
Guillem

chromecast: lower vorbis encoding quality

cf. comment

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

 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 )

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