Commit 1a85d8ef authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: added 'deinterlace' and 'deinterlace-mode' to the video category of the simple preferences

(cherry picked from commit 298ca276a1149034447bd32d9230450a904d33d2)
parent 5a570c7e
...@@ -158,6 +158,11 @@ IBOutlet id o_intf_mediakeys_ckb; ...@@ -158,6 +158,11 @@ IBOutlet id o_intf_mediakeys_ckb;
IBOutlet id o_video_snap_prefix_fld; IBOutlet id o_video_snap_prefix_fld;
IBOutlet id o_video_snap_prefix_txt; IBOutlet id o_video_snap_prefix_txt;
IBOutlet id o_video_snap_seqnum_ckb; IBOutlet id o_video_snap_seqnum_ckb;
IBOutlet id o_video_deinterlace_txt;
IBOutlet id o_video_deinterlace_pop;
IBOutlet id o_video_deinterlace_mode_txt;
IBOutlet id o_video_deinterlace_mode_pop;
IBOutlet id o_video_video_box;
IBOutlet id o_video_view; IBOutlet id o_video_view;
BOOL b_audioSettingChanged; BOOL b_audioSettingChanged;
......
...@@ -313,6 +313,9 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des ...@@ -313,6 +313,9 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
[o_video_snap_format_txt setStringValue: _NS("Format")]; [o_video_snap_format_txt setStringValue: _NS("Format")];
[o_video_snap_prefix_txt setStringValue: _NS("Prefix")]; [o_video_snap_prefix_txt setStringValue: _NS("Prefix")];
[o_video_snap_seqnum_ckb setTitle: _NS("Sequential numbering")]; [o_video_snap_seqnum_ckb setTitle: _NS("Sequential numbering")];
[o_video_deinterlace_txt setStringValue: _NS("Deinterlace")];
[o_video_deinterlace_mode_txt setStringValue: _NS("Deinterlace mode")];
[o_video_video_box setTitle: _NS("Video")];
/* generic stuff */ /* generic stuff */
[o_sprefs_showAll_btn setTitle: _NS("Show All")]; [o_sprefs_showAll_btn setTitle: _NS("Show All")];
...@@ -598,6 +601,8 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na ...@@ -598,6 +601,8 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
[self setupField: o_video_snap_prefix_fld forOption:"snapshot-prefix"]; [self setupField: o_video_snap_prefix_fld forOption:"snapshot-prefix"];
[self setupButton: o_video_snap_seqnum_ckb forBoolValue: "snapshot-sequential"]; [self setupButton: o_video_snap_seqnum_ckb forBoolValue: "snapshot-sequential"];
[self setupButton: o_video_snap_format_pop forStringList: "snapshot-format"]; [self setupButton: o_video_snap_format_pop forStringList: "snapshot-format"];
[self setupButton: o_video_deinterlace_pop forIntList: "deinterlace"];
[self setupButton: o_video_deinterlace_mode_pop forStringList: "deinterlace-mode"];
/*************************** /***************************
* input & codecs settings * * input & codecs settings *
...@@ -930,6 +935,8 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch ...@@ -930,6 +935,8 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
config_PutPsz( p_intf, "snapshot-prefix", [[o_video_snap_prefix_fld stringValue] UTF8String] ); config_PutPsz( p_intf, "snapshot-prefix", [[o_video_snap_prefix_fld stringValue] UTF8String] );
config_PutInt( p_intf, "snapshot-sequential", [o_video_snap_seqnum_ckb state] ); config_PutInt( p_intf, "snapshot-sequential", [o_video_snap_seqnum_ckb state] );
SaveStringList( o_video_snap_format_pop, "snapshot-format" ); SaveStringList( o_video_snap_format_pop, "snapshot-format" );
SaveIntList( o_video_deinterlace_pop, "deinterlace" );
SaveStringList( o_video_deinterlace_mode_pop, "deinterlace-mode" );
b_videoSettingChanged = NO; b_videoSettingChanged = NO;
} }
......
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