Commit 94cb90b5 authored by Soomin Lee's avatar Soomin Lee Committed by Carola
Browse files

VLCPlaybackController: Remove duration restriction to remember the state of small files as well


Signed-off-by: Carola's avatarCarola Nitz <nitz.carola@googlemail.com>
parent 6c93beb9
......@@ -1114,7 +1114,7 @@ VLCMediaDelegate, VLCRemoteControlServiceDelegate>
lastPosition = item.lastPosition.floatValue;
duration = item.duration.intValue;
if (lastPosition < .95 && _mediaPlayer.position < lastPosition && (duration * lastPosition - duration) < -50000) {
if (lastPosition < .95 && _mediaPlayer.position < lastPosition) {
NSInteger continuePlayback;
if ([item isAlbumTrack] || [item isSupportedAudioFile])
continuePlayback = [[[NSUserDefaults standardUserDefaults] objectForKey:kVLCSettingContinueAudioPlayback] 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