Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
a9ec3661
Commit
a9ec3661
authored
Jan 29, 2018
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chromecast: disable passthrough by default
parent
48d026a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vlc-android/res/xml/preferences_casting.xml
vlc-android/res/xml/preferences_casting.xml
+1
-1
vlc-android/src/org/videolan/vlc/util/VLCOptions.java
vlc-android/src/org/videolan/vlc/util/VLCOptions.java
+1
-1
No files found.
vlc-android/res/xml/preferences_casting.xml
View file @
a9ec3661
...
...
@@ -6,7 +6,7 @@
<PreferenceCategory
android:title=
"@string/casting_category"
>
<CheckBoxPreference
android:key=
"casting_passthrough"
android:defaultValue=
"
tru
e"
android:defaultValue=
"
fals
e"
android:summary=
"@string/casting_passthrough_summary"
android:title=
"@string/casting_passthrough_title"
/>
<ListPreference
...
...
vlc-android/src/org/videolan/vlc/util/VLCOptions.java
View file @
a9ec3661
...
...
@@ -128,7 +128,7 @@ public class VLCOptions {
//Chromecast
options
.
add
(
verboseMode
?
"-vv"
:
"-v"
);
if
(
pref
.
getBoolean
(
"casting_passthrough"
,
tru
e
))
options
.
add
(
"--sout-chromecast-audio-passthrough"
);
if
(
pref
.
getBoolean
(
"casting_passthrough"
,
fals
e
))
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"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment