Commit 1674102a authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/VideoEffects: fixed incomplete 'Anaglyph' implementation

parent f3badede
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
IBOutlet id o_addlogo_pos_pop; IBOutlet id o_addlogo_pos_pop;
IBOutlet id o_addlogo_transparency_lbl; IBOutlet id o_addlogo_transparency_lbl;
IBOutlet id o_addlogo_transparency_sld; IBOutlet id o_addlogo_transparency_sld;
IBOutlet id o_anaglyph_ckb;
} }
/* generic */ /* generic */
...@@ -184,4 +185,5 @@ ...@@ -184,4 +185,5 @@
- (IBAction)addTextModifierChanged:(id)sender; - (IBAction)addTextModifierChanged:(id)sender;
- (IBAction)enableAddLogo:(id)sender; - (IBAction)enableAddLogo:(id)sender;
- (IBAction)addLogoModifierChanged:(id)sender; - (IBAction)addLogoModifierChanged:(id)sender;
- (IBAction)enableAnaglyph:(id)sender;
@end @end
...@@ -936,7 +936,6 @@ static VLCVideoEffects *_o_sharedInstance = nil; ...@@ -936,7 +936,6 @@ static VLCVideoEffects *_o_sharedInstance = nil;
[self setVideoFilter: "psychedelic" on: [o_psychedelic_ckb state]]; [self setVideoFilter: "psychedelic" on: [o_psychedelic_ckb state]];
} }
#pragma mark - #pragma mark -
#pragma mark Miscellaneous #pragma mark Miscellaneous
- (IBAction)enableAddText:(id)sender - (IBAction)enableAddText:(id)sender
...@@ -986,4 +985,9 @@ static VLCVideoEffects *_o_sharedInstance = nil; ...@@ -986,4 +985,9 @@ static VLCVideoEffects *_o_sharedInstance = nil;
} }
} }
- (IBAction)enableAnaglyph:(id)sender
{
[self setVideoFilter: "anaglyph" on: [o_anaglyph_ckb state]];
}
@end @end
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