Commit 25316fbf authored by David Fuhrmann's avatar David Fuhrmann

macosx: video effects panel: only allow to activate clone XOR wall

Clone and wall is not supported yet.
parent 803b6303
...@@ -1050,6 +1050,11 @@ static VLCVideoEffects *_o_sharedInstance = nil; ...@@ -1050,6 +1050,11 @@ static VLCVideoEffects *_o_sharedInstance = nil;
{ {
BOOL b_state = [o_clone_ckb state]; BOOL b_state = [o_clone_ckb state];
if (b_state && [o_wall_ckb state]) {
[o_wall_ckb setState: NSOffState];
[self enableWall: o_wall_ckb];
}
[self setVideoFilter: "clone" on: b_state]; [self setVideoFilter: "clone" on: b_state];
[o_clone_number_lbl setEnabled: b_state]; [o_clone_number_lbl setEnabled: b_state];
[o_clone_number_fld setEnabled: b_state]; [o_clone_number_fld setEnabled: b_state];
...@@ -1065,6 +1070,11 @@ static VLCVideoEffects *_o_sharedInstance = nil; ...@@ -1065,6 +1070,11 @@ static VLCVideoEffects *_o_sharedInstance = nil;
{ {
BOOL b_state = [o_wall_ckb state]; BOOL b_state = [o_wall_ckb state];
if (b_state && [o_clone_ckb state]) {
[o_clone_ckb setState: NSOffState];
[self enableClone: o_clone_ckb];
}
[self setVideoFilter: "wall" on: b_state]; [self setVideoFilter: "wall" on: b_state];
[o_wall_numofcols_fld setEnabled: b_state]; [o_wall_numofcols_fld setEnabled: b_state];
[o_wall_numofcols_stp setEnabled: b_state]; [o_wall_numofcols_stp setEnabled: b_state];
......
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