Commit 47f9dbb8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

TV: recover S/PDIF state

(cherry picked from commit f992f102)
parent 8f66afad
......@@ -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
}
......
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