Commit a4c86f1c authored by Victorien Le Couviour--Tuffet's avatar Victorien Le Couviour--Tuffet Committed by Jean-Baptiste Kempf

macosx: create variables before assigning them from video profile

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 70c486c3
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment