[vlc-commits] macosx: do not save resume data if VLC is in private mode
David Fuhrmann
git at videolan.org
Sun Oct 19 23:08:45 CEST 2014
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Oct 19 23:07:41 2014 +0200| [a372720ffe4ebdf05e4145407e611a1cd9f0e72e] | committer: David Fuhrmann
macosx: do not save resume data if VLC is in private mode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a372720ffe4ebdf05e4145407e611a1cd9f0e72e
---
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;
More information about the vlc-commits
mailing list