Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
298ca276
Commit
298ca276
authored
Apr 06, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: added 'deinterlace' and 'deinterlace-mode' to the video category of the simple preferences
parent
127ae211
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
551 additions
and
11 deletions
+551
-11
extras/package/macosx/Resources/English.lproj/Preferences.xib
...as/package/macosx/Resources/English.lproj/Preferences.xib
+539
-11
modules/gui/macosx/simple_prefs.h
modules/gui/macosx/simple_prefs.h
+5
-0
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+7
-0
No files found.
extras/package/macosx/Resources/English.lproj/Preferences.xib
View file @
298ca276
This diff is collapsed.
Click to expand it.
modules/gui/macosx/simple_prefs.h
View file @
298ca276
...
...
@@ -158,6 +158,11 @@ IBOutlet id o_intf_mediakeys_ckb;
IBOutlet
id
o_video_snap_prefix_fld
;
IBOutlet
id
o_video_snap_prefix_txt
;
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
;
BOOL
b_audioSettingChanged
;
...
...
modules/gui/macosx/simple_prefs.m
View file @
298ca276
...
...
@@ -315,6 +315,9 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
[
o_video_snap_format_txt
setStringValue
:
_NS
(
"Format"
)];
[
o_video_snap_prefix_txt
setStringValue
:
_NS
(
"Prefix"
)];
[
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 */
[
o_sprefs_showAll_btn
setTitle
:
_NS
(
"Show All"
)];
...
...
@@ -600,6 +603,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
setupButton
:
o_video_snap_seqnum_ckb
forBoolValue
:
"snapshot-sequential"
];
[
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 *
...
...
@@ -932,6 +937,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_PutInt
(
p_intf
,
"snapshot-sequential"
,
[
o_video_snap_seqnum_ckb
state
]
);
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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment