Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
47f9dbb8
Commit
47f9dbb8
authored
May 09, 2016
by
Felix Paul Kühne
Browse files
TV: recover S/PDIF state
(cherry picked from commit
f992f102
)
parent
8f66afad
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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