Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
47f9dbb8
Commit
47f9dbb8
authored
May 09, 2016
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TV: recover S/PDIF state
(cherry picked from commit
f992f102
)
parent
8f66afad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Sources/VLCPlaybackController.m
Sources/VLCPlaybackController.m
+6
-0
No files found.
Sources/VLCPlaybackController.m
View file @
47f9dbb8
...
...
@@ -517,6 +517,12 @@ NSString *const VLCPlaybackControllerPlaybackPositionUpdated = @"VLCPlaybackCont
item
=
matches
.
firstObject
;
[
self
_recoverLastPlaybackStateOfItem
:
item
];
}
#else
NSUserDefaults
*
defaults
=
[
NSUserDefaults
standardUserDefaults
];
BOOL
bValue
=
[
defaults
boolForKey
:
kVLCSettingUseSPDIF
];
if
(
bValue
)
{
[
_mediaPlayer
performSelector
:
@selector
(
setPassthroughAudio
:)
withObject
:
@
(
bValue
)];
}
#endif
}
...
...
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