Commit 98dd4679 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: don't try to continue playback if current position is 0

parent ef779091
......@@ -1491,7 +1491,7 @@
long long int dur = input_item_GetDuration(p_item) / 1000000;
int current_pos_in_sec = (f_current_pos * dur) / 100;
if (current_pos_in_sec >= lastPosition.intValue)
if (current_pos_in_sec == 0 || current_pos_in_sec >= lastPosition.intValue)
return;
int settingValue = config_GetInt(VLCIntf, "macosx-continue-playback");
......
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