Commit a372720f authored by David Fuhrmann's avatar David Fuhrmann

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

parent b2525ebf
...@@ -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