]> git.sesse.net Git - vlc/commitdiff
macosx: do not save resume data if VLC is in private mode
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 19 Oct 2014 21:07:41 +0000 (23:07 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 19 Oct 2014 21:07:41 +0000 (23:07 +0200)
modules/gui/macosx/playlist.m

index 9189e6f1535221dc90a8df20cee3463feebab10e..e29d39f8e975edcf41983504780d94bc88c6629b 100644 (file)
 
 - (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);
     if (!p_item)
         return;