vlc/vlc-2.2 | branch: master | David Fuhrmann <[email protected]> | Sun Oct 19 23:07:41 2014 +0200| [e15a5ab72d0e1cfcbff829d0671873c35299f414] | committer: Felix Paul Kühne
macosx: do not save resume data if VLC is in private mode (cherry picked from commit a372720ffe4ebdf05e4145407e611a1cd9f0e72e) Signed-off-by: Felix Paul Kühne <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=e15a5ab72d0e1cfcbff829d0671873c35299f414 --- modules/gui/macosx/playlist.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index 9189e6f..e29d39f 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -1562,6 +1562,9 @@ - (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; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
