Commit 19e5fb44 authored by Felix Paul Kühne's avatar Felix Paul Kühne

vpc: correctly respect continuity options for audio and video (closes #16840)

parent acd241e3
......@@ -1023,7 +1023,7 @@ setstuff:
if (lastPosition < .95 && _mediaPlayer.position < lastPosition && (duration * lastPosition - duration) < -50000) {
NSInteger continuePlayback;
if (!_mediaPlayer.hasVideoOut)
if ([item isAlbumTrack] || [item isSupportedAudioFile])
continuePlayback = [[[NSUserDefaults standardUserDefaults] objectForKey:kVLCSettingContinueAudioPlayback] integerValue];
else
continuePlayback = [[[NSUserDefaults standardUserDefaults] objectForKey:kVLCSettingContinuePlayback] integerValue];
......
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