Commit 54f62e33 authored by David Fuhrmann's avatar David Fuhrmann

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

parent 304be372
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#import "open.h" #import "open.h"
#import "output.h" #import "output.h"
#import "eyetv.h" #import "eyetv.h"
#import "misc.h"
#import <vlc_url.h> #import <vlc_url.h>
...@@ -223,6 +224,10 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -223,6 +224,10 @@ static VLCOpen *_o_sharedMainInstance = nil;
[o_capture_width_lbl setStringValue: [NSString stringWithFormat:@"%@:",_NS("Image width")]]; [o_capture_width_lbl setStringValue: [NSString stringWithFormat:@"%@:",_NS("Image width")]];
[o_capture_height_lbl setStringValue: [NSString stringWithFormat:@"%@:",_NS("Image height")]]; [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]; [self qtkvideoDevices];
[o_qtk_video_device_pop removeAllItems]; [o_qtk_video_device_pop removeAllItems];
msg_Dbg(VLCIntf, "Found %lu video capture devices", [qtkvideoDevices count]); msg_Dbg(VLCIntf, "Found %lu video capture devices", [qtkvideoDevices count]);
......
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