Commit 9dc22ef2 authored by Thomas Guillem's avatar Thomas Guillem

ATV: don't restart audio when changing passthrough settings

Since VLC can handle passthrough changes during playback.

(cherry picked from commit 311679fb)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent db45de3b
......@@ -141,10 +141,6 @@
[vpc setAudioPassthrough:bValue];
[defaults setBool:bValue forKey:kVLCSettingUseSPDIF];
/* restart the audio output */
NSInteger currentAudioTrackIndex = [vpc indexOfCurrentAudioTrack];
[vpc selectAudioTrackAtIndex:0];
[vpc selectAudioTrackAtIndex:currentAudioTrackIndex];
} else {
[vpc selectAudioTrackAtIndex:row];
}
......
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