From 54f62e33783b5d329ff1fb1d69a91dc4ac703f02 Mon Sep 17 00:00:00 2001 From: David Fuhrmann <david.fuhrmann@googlemail.com> Date: Thu, 2 May 2013 13:08:26 +0200 Subject: [PATCH] macosx: use position formatter for start and stop time in open panel --- 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 8502ca52e1b1..0540639dc859 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]); -- GitLab