[vlc-commits] macosx: video effects: improve compatibility with old settings

David Fuhrmann git at videolan.org
Wed Dec 13 23:51:21 CET 2017


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Dec 10 22:50:46 2017 +0100| [3e35df936c1bb8f181c2d249d4826ee136911cf9] | committer: David Fuhrmann

macosx: video effects: improve compatibility with old settings

This implements the following migration behaviour with older
VLC version:
- Index 0 in settings used to be the Default profile, and is now
  ignored (not read from and not written to anymore)
- The default settings still include the default profile in index
  0, to maintain backwards compatibility if older VLC are started.
- In profile selector, index 0 is still the Default profile,
  if the "apply at next startup" is selected, a new Custom profile
  is created at exit.
- By default after updating, no profile will be deployed at launch,
  so the "Default profile is selected.

refs #19260

(cherry picked from commit 42115489853231f77f1221791294616c716e80fb)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=3e35df936c1bb8f181c2d249d4826ee136911cf9
---

 .../gui/macosx/VLCVideoEffectsWindowController.m   | 125 +++++++++++++--------
 1 file changed, 77 insertions(+), 48 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=3e35df936c1bb8f181c2d249d4826ee136911cf9


More information about the vlc-commits mailing list