[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:47:09 CEST 2012


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

macosx: make sure that the marquee is displayed correctly when enabled for the first time in a session
(cherry picked from commit 412b2d72b707eb84c6b0854cc07dfdc56ba0826b)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=3e25459f4a43d889d8021491052b7fa1a50af2b3
---

 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 b6d2530..7427f32 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