Commit e15a5ab7 authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

macosx: do not save resume data if VLC is in private mode

(cherry picked from commit a372720ffe4ebdf05e4145407e611a1cd9f0e72e)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 56ccd753
...@@ -1562,6 +1562,9 @@ ...@@ -1562,6 +1562,9 @@
- (void)storePlaybackPositionForItem:(input_thread_t *)p_input_thread - (void)storePlaybackPositionForItem:(input_thread_t *)p_input_thread
{ {
if (!var_InheritBool(VLCIntf, "macosx-recentitems"))
return;
input_item_t *p_item = input_GetItem(p_input_thread); input_item_t *p_item = input_GetItem(p_input_thread);
if (!p_item) if (!p_item)
return; return;
......
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