Commit f992f102 authored by Felix Paul Kühne's avatar Felix Paul Kühne

TV: recover S/PDIF state

parent 62e9b006
......@@ -517,6 +517,12 @@ NSString *const VLCPlaybackControllerPlaybackPositionUpdated = @"VLCPlaybackCont
item = matches.firstObject;
[self _recoverLastPlaybackStateOfItem:item];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
BOOL bValue = [defaults boolForKey:kVLCSettingUseSPDIF];
if (bValue) {
[_mediaPlayer performSelector:@selector(setPassthroughAudio:) withObject:@(bValue)];
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