[vlc-commits] macosx: make sure that the marquee is displayed correctly when enabled for the first time in a session

Felix Paul Kühne git at videolan.org
Sat Jul 28 16:35:20 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jul 28 11:33:32 2012 -0300| [412b2d72b707eb84c6b0854cc07dfdc56ba0826b] | committer: Felix Paul Kühne

macosx: make sure that the marquee is displayed correctly when enabled for the first time in a session

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=412b2d72b707eb84c6b0854cc07dfdc56ba0826b
---

 modules/gui/macosx/VideoEffects.m |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/macosx/VideoEffects.m b/modules/gui/macosx/VideoEffects.m
index 6d375e4..624a748 100644
--- a/modules/gui/macosx/VideoEffects.m
+++ b/modules/gui/macosx/VideoEffects.m
@@ -946,6 +946,8 @@ static VLCVideoEffects *_o_sharedInstance = nil;
     [o_addtext_text_lbl setEnabled: b_state];
     [o_addtext_text_fld setEnabled: b_state];
     [self setVideoFilter: "marq" on: b_state];
+    [self setVideoFilterProperty: "marq-marquee" forFilter: "marq" string: (char *)[[o_addtext_text_fld stringValue] UTF8String]];
+    [self setVideoFilterProperty: "marq-position" forFilter: "marq" integer: [[o_addtext_pos_pop selectedItem] tag]];
 }
 
 - (IBAction)addTextModifierChanged:(id)sender



More information about the vlc-commits mailing list