Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c1823412
Commit
c1823412
authored
May 27, 2009
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefs: repair category system for some lost options.
set/(re)move a few cases of set_category and set_subcategory
parent
946eba4a
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
17 deletions
+32
-17
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+4
-4
modules/control/hotkeys.c
modules/control/hotkeys.c
+2
-0
modules/control/motion.c
modules/control/motion.c
+1
-0
modules/control/showintf.c
modules/control/showintf.c
+5
-1
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
+4
-0
modules/misc/osd/parser.c
modules/misc/osd/parser.c
+0
-3
modules/video_filter/canvas.c
modules/video_filter/canvas.c
+3
-0
modules/video_filter/croppadd.c
modules/video_filter/croppadd.c
+3
-0
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+10
-9
No files found.
modules/audio_filter/channel_mixer/mono.c
View file @
c1823412
...
...
@@ -108,6 +108,10 @@ static const uint32_t pi_channels_out[] =
vlc_module_begin
()
set_description
(
N_
(
"Audio filter for stereo to mono conversion"
)
)
set_capability
(
"audio filter2"
,
2
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_shortname
(
"Mono"
)
add_bool
(
MONO_CFG
"downmix"
,
true
,
NULL
,
MONO_DOWNMIX_TEXT
,
MONO_DOWNMIX_LONGTEXT
,
false
)
...
...
@@ -115,10 +119,6 @@ vlc_module_begin ()
MONO_CHANNEL_LONGTEXT
,
false
)
change_integer_list
(
pi_pos_values
,
ppsz_pos_descriptions
,
NULL
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_MISC
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_shortname
(
"Mono"
)
vlc_module_end
()
/* Init() and ComputeChannelOperations() -
...
...
modules/control/hotkeys.c
View file @
c1823412
...
...
@@ -104,6 +104,8 @@ vlc_module_begin ()
set_description
(
N_
(
"Hotkeys management interface"
)
)
set_capability
(
"interface"
,
0
)
set_callbacks
(
Open
,
Close
)
set_category
(
CAT_INTERFACE
)
set_subcategory
(
SUBCAT_INTERFACE_HOTKEYS
)
add_integer
(
"hotkeys-mousewheel-mode"
,
MOUSEWHEEL_VOLUME
,
NULL
,
N_
(
"MouseWheel x-axis Control"
),
...
...
modules/control/motion.c
View file @
c1823412
...
...
@@ -77,6 +77,7 @@ static int GetOrientation( intf_thread_t *p_intf );
vlc_module_begin
()
set_shortname
(
N_
(
"motion"
))
set_category
(
CAT_INTERFACE
)
set_subcategory
(
SUBCAT_INTERFACE_CONTROL
)
set_description
(
N_
(
"motion control interface"
)
)
set_help
(
N_
(
"Use HDAPS, AMS, APPLESMC or UNIMOTION motion sensors "
\
"to rotate the video"
)
)
...
...
modules/control/showintf.c
View file @
c1823412
...
...
@@ -68,11 +68,15 @@ static int MouseEvent( vlc_object_t *, char const *,
vlc_module_begin
()
set_shortname
(
"Showintf"
)
add_integer
(
"showintf-threshold"
,
10
,
NULL
,
THRESHOLD_TEXT
,
THRESHOLD_LONGTEXT
,
true
)
set_description
(
N_
(
"Show interface with mouse"
)
)
set_capability
(
"interface"
,
0
)
set_callbacks
(
Open
,
Close
)
set_category
(
CAT_INTERFACE
)
set_subcategory
(
SUBCAT_INTERFACE_CONTROL
)
add_integer
(
"showintf-threshold"
,
10
,
NULL
,
THRESHOLD_TEXT
,
THRESHOLD_LONGTEXT
,
true
)
vlc_module_end
()
/*****************************************************************************
...
...
modules/misc/dummy/dummy.c
View file @
c1823412
...
...
@@ -82,6 +82,8 @@ vlc_module_begin ()
set_description
(
N_
(
"Dummy decoder function"
)
)
set_capability
(
"decoder"
,
0
)
set_callbacks
(
OpenDecoder
,
CloseDecoder
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_SCODEC
)
add_bool
(
"dummy-save-es"
,
0
,
NULL
,
SAVE_TEXT
,
SAVE_LONGTEXT
,
true
)
add_submodule
()
set_section
(
N_
(
"Dump decoder"
),
NULL
)
...
...
@@ -102,6 +104,8 @@ vlc_module_begin ()
set_section
(
N_
(
"Dummy Video output"
),
NULL
)
set_capability
(
"video output"
,
1
)
set_callbacks
(
OpenVideo
,
NULL
)
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_VOUT
)
add_category_hint
(
N_
(
"Video"
),
NULL
,
false
)
add_string
(
"dummy-chroma"
,
NULL
,
NULL
,
CHROMA_TEXT
,
CHROMA_LONGTEXT
,
true
)
add_submodule
()
...
...
modules/misc/osd/parser.c
View file @
c1823412
...
...
@@ -47,9 +47,6 @@ static void osd_parser_Close( vlc_object_t *p_this );
*****************************************************************************/
vlc_module_begin
()
set_category
(
CAT_OSD
)
set_subcategory
(
SUBCAT_OSD_IMPORT
)
add_submodule
()
set_description
(
N_
(
"OSD configuration importer"
)
)
add_shortcut
(
"import-osd"
)
...
...
modules/video_filter/canvas.c
View file @
c1823412
...
...
@@ -68,6 +68,9 @@ vlc_module_begin ()
set_capability
(
"video filter2"
,
0
)
set_callbacks
(
Activate
,
Destroy
)
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_VFILTER2
)
add_integer_with_range
(
CFG_PREFIX
"width"
,
0
,
0
,
INT_MAX
,
NULL
,
WIDTH_TEXT
,
WIDTH_LONGTEXT
,
false
)
add_integer_with_range
(
CFG_PREFIX
"height"
,
0
,
0
,
INT_MAX
,
NULL
,
...
...
modules/video_filter/croppadd.c
View file @
c1823412
...
...
@@ -80,6 +80,9 @@ vlc_module_begin ()
set_capability
(
"video filter2"
,
0
)
set_callbacks
(
OpenFilter
,
CloseFilter
)
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_VFILTER2
);
set_section
(
N_
(
"Crop"
),
NULL
)
add_integer_with_range
(
CFG_PREFIX
"croptop"
,
0
,
0
,
INT_MAX
,
NULL
,
CROPTOP_TEXT
,
CROPTOP_LONGTEXT
,
false
)
...
...
modules/video_filter/osdmenu.c
View file @
c1823412
...
...
@@ -113,6 +113,16 @@ static int MouseEvent( vlc_object_t *, char const *,
#define OSD_UPDATE_MAX 1000
vlc_module_begin
()
set_capability
(
"sub filter"
,
100
)
set_description
(
N_
(
"On Screen Display menu"
)
)
set_shortname
(
N_
(
"OSD menu"
)
)
add_shortcut
(
"osdmenu"
)
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_SUBPIC
)
set_callbacks
(
CreateFilter
,
DestroyFilter
)
add_integer
(
OSD_CFG
"x"
,
-
1
,
NULL
,
POSX_TEXT
,
POSX_LONGTEXT
,
false
)
add_integer
(
OSD_CFG
"y"
,
-
1
,
NULL
,
POSY_TEXT
,
POSY_LONGTEXT
,
false
)
add_integer
(
OSD_CFG
"position"
,
8
,
NULL
,
POS_TEXT
,
POS_LONGTEXT
,
...
...
@@ -130,15 +140,6 @@ vlc_module_begin ()
add_integer_with_range
(
OSD_CFG
"alpha"
,
255
,
0
,
255
,
NULL
,
OSD_ALPHA_TEXT
,
OSD_ALPHA_LONGTEXT
,
true
)
set_capability
(
"sub filter"
,
100
)
set_description
(
N_
(
"On Screen Display menu"
)
)
set_shortname
(
N_
(
"OSD menu"
)
)
add_shortcut
(
"osdmenu"
)
set_category
(
CAT_VIDEO
)
set_subcategory
(
SUBCAT_VIDEO_SUBPIC
)
set_callbacks
(
CreateFilter
,
DestroyFilter
)
vlc_module_end
()
/*****************************************************************************
...
...
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