[vlc-commits] macosx: do not save resume data if VLC is in private mode
David Fuhrmann
git at videolan.org
Mon Oct 20 18:38:41 CEST 2014
vlc/vlc-2.2 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | 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 <fkuehne at videolan.org>
> 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;
More information about the vlc-commits
mailing list