[Android] chromecast: disable passthrough by default

Geoffrey Métais git at videolan.org
Mon Jan 29 18:17:13 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jan 29 18:16:45 2018 +0100| [a9ec36617f892e963c0ba42700ce1f8d4ba47533] | committer: Geoffrey Métais

chromecast: disable passthrough by default

> https://code.videolan.org/videolan/vlc-android/commit/a9ec36617f892e963c0ba42700ce1f8d4ba47533
---

 vlc-android/res/xml/preferences_casting.xml           | 2 +-
 vlc-android/src/org/videolan/vlc/util/VLCOptions.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/xml/preferences_casting.xml b/vlc-android/res/xml/preferences_casting.xml
index 99a9383aa..d4a7073da 100644
--- a/vlc-android/res/xml/preferences_casting.xml
+++ b/vlc-android/res/xml/preferences_casting.xml
@@ -6,7 +6,7 @@
     <PreferenceCategory android:title="@string/casting_category">
         <CheckBoxPreference
             android:key="casting_passthrough"
-            android:defaultValue="true"
+            android:defaultValue="false"
             android:summary="@string/casting_passthrough_summary"
             android:title="@string/casting_passthrough_title" />
         <ListPreference
diff --git a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
index ea4031f8a..d6f6c40be 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
@@ -128,7 +128,7 @@ public class VLCOptions {
 
         //Chromecast
         options.add(verboseMode ? "-vv" : "-v");
-        if (pref.getBoolean("casting_passthrough", true)) options.add("--sout-chromecast-audio-passthrough");
+        if (pref.getBoolean("casting_passthrough", false)) options.add("--sout-chromecast-audio-passthrough");
         else options.add("--no-sout-chromecast-audio-passthrough");
         options.add("--sout-chromecast-conversion-quality="+pref.getString("casting_quality", "2"));
 



More information about the Android mailing list