Commit add4be43 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: reset A to B loop when switching playlist items

parent f790f399
......@@ -63,6 +63,7 @@
- (void)repeatOff;
- (void)shuffle;
- (void)setAtoB;
- (void)resetAtoB;
- (void)updateAtoB;
- (void)volumeUp;
......
......@@ -431,10 +431,14 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
timeB = var_GetTime(p_input, "time");
vlc_object_release(p_input);
}
} else {
timeA = 0;
timeB = 0;
}
} else
[self resetAtoB];
}
- (void)resetAtoB
{
timeA = 0;
timeB = 0;
}
- (void)updateAtoB
......
......@@ -1298,6 +1298,7 @@ static VLCMain *_o_sharedMainInstance = nil;
{
[o_mainmenu setupMenus];
[o_mainmenu updatePlaybackRate];
[[VLCCoreInteraction sharedInstance] resetAtoB];
}
- (void)updateMainWindow
......
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