vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuf...@gmail.com> | Tue Jun 27 10:30:10 2017 +0200| [a4c86f1c6b3fbaeb6ae9cbe9dedddedb8a8b56ac] | committer: Jean-Baptiste Kempf
macosx: create variables before assigning them from video profile Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4c86f1c6b3fbaeb6ae9cbe9dedddedb8a8b56ac --- modules/gui/macosx/VLCVideoEffectsWindowController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/macosx/VLCVideoEffectsWindowController.m b/modules/gui/macosx/VLCVideoEffectsWindowController.m index 0df5d87916..1fa610283f 100644 --- a/modules/gui/macosx/VLCVideoEffectsWindowController.m +++ b/modules/gui/macosx/VLCVideoEffectsWindowController.m @@ -638,6 +638,8 @@ if (b_filter_changed) var_SetString(p_playlist, "video-splitter", [tempString UTF8String]); + [self resetValues]; + /* try to set filter values on-the-fly and store them appropriately */ // index 3 is deprecated [vci_si setVideoFilterProperty: "contrast" forFilter: "adjust" withValue: getWidgetFloatValue([items objectAtIndex:4])]; @@ -685,8 +687,6 @@ [defaults setInteger:selectedProfile forKey:@"VideoEffectSelectedProfile"]; [defaults synchronize]; - - [self resetValues]; } - (void)addProfile:(id)sender _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits