vlc | branch: master | David Fuhrmann <[email protected]> | Thu May 
 2 13:08:26 2013 +0200| [54f62e33783b5d329ff1fb1d69a91dc4ac703f02] | committer: 
David Fuhrmann

macosx: use position formatter for start and stop time in open panel

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

 modules/gui/macosx/open.m |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m
index 8502ca5..0540639 100644
--- a/modules/gui/macosx/open.m
+++ b/modules/gui/macosx/open.m
@@ -47,6 +47,7 @@
 #import "open.h"
 #import "output.h"
 #import "eyetv.h"
+#import "misc.h"
 
 #import <vlc_url.h>
 
@@ -223,6 +224,10 @@ static VLCOpen *_o_sharedMainInstance = nil;
     [o_capture_width_lbl setStringValue: [NSString 
stringWithFormat:@"%@:",_NS("Image width")]];
     [o_capture_height_lbl setStringValue: [NSString 
stringWithFormat:@"%@:",_NS("Image height")]];
 
+    // setup start / stop time fields
+    [o_file_starttime_fld setFormatter:[[[PositionFormatter alloc] init] 
autorelease]];
+    [o_file_stoptime_fld setFormatter:[[[PositionFormatter alloc] init] 
autorelease]];
+
     [self qtkvideoDevices];
     [o_qtk_video_device_pop removeAllItems];
     msg_Dbg(VLCIntf, "Found %lu video capture devices", [qtkvideoDevices 
count]);

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to