Commit a9ec3661 authored by Geoffrey Métais's avatar Geoffrey Métais

chromecast: disable passthrough by default

parent 48d026a3
......@@ -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
......
......@@ -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"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment