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
5ca8805a
Commit
5ca8805a
authored
Jul 19, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for modules help strings (Closes:#413)
parent
a8fcedd2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
include/modules_inner.h
include/modules_inner.h
+4
-0
modules/LIST
modules/LIST
+1
-4
modules/audio_filter/channel_mixer/headphone.c
modules/audio_filter/channel_mixer/headphone.c
+1
-0
modules/gui/qt4/components/preferences.cpp
modules/gui/qt4/components/preferences.cpp
+8
-1
No files found.
include/modules_inner.h
View file @
5ca8805a
...
...
@@ -112,6 +112,7 @@
p_module->psz_object_name = MODULE_STRING; \
p_module->psz_shortname = NULL; \
p_module->psz_longname = MODULE_STRING; \
p_module->psz_help = NULL; \
p_module->pp_shortcuts[ 0 ] = MODULE_STRING; \
p_module->i_cpu = 0; \
p_module->psz_program = NULL; \
...
...
@@ -185,6 +186,9 @@
#define set_description( desc ) \
p_submodule->psz_longname = desc
#define set_help( help ) \
p_submodule->psz_help = help
#define set_capability( cap, score ) \
p_submodule->psz_capability = cap; \
p_submodule->i_score = score
...
...
modules/LIST
View file @
5ca8805a
...
...
@@ -57,7 +57,6 @@ $Id$
* dirac: BBC Dirac codec
* directfb: Direct Framebuffer video output
* directory : input module to read files in a directory
* distort: miscellaneous image effects filter.
* dmo: a DirectMediaObject decoder that uses DirectMedia to decode video (WMV3)
* dolby_surround_decoder: simple decoder for dolby surround encoded streams
* dshow: DirectShow access plugin for encoding cards under Windows
...
...
@@ -132,11 +131,10 @@ $Id$
* libmpeg2: Mpeg2 video decoder using libmpeg2
* linear_resampler: linear audio resampler
* lirc: Linux infrared control module
* live
dotcom: rtp demux based on liveMedia (live
.com)
* live
555: rtp demux based on liveMedia (live555
.com)
* logger: file logger plugin
* logo: video filter to put a logo on the video
* lpcm: LPCM decoder
* m3u: PLS, M3U, ASX and B4S playlist parser
* m4a: MPEG-4 Audio Stream demuxer
* m4v: MPEG-4 Video Stream demuxer
* macosx: Video output, and interface module for Mac OS X.
...
...
@@ -218,7 +216,6 @@ $Id$
* screen: a input module that takes screenshots of the primary monitor
* screensaver: screensaver disabling module
* sdl_image: SDL-based image decoder
* sgimb: SGIMB referrer files parser
* shout: Shoutcast services discovery
* showintf: shows the main interface
* simple_channel_mixer: channel mixer
...
...
modules/audio_filter/channel_mixer/headphone.c
View file @
5ca8805a
...
...
@@ -71,6 +71,7 @@ static void DoWork ( aout_instance_t *, aout_filter_t *, aout_buffer_t *,
vlc_module_begin
();
set_description
(
N_
(
"Headphone virtual spatialization effect"
)
);
set_shortname
(
_
(
"Headphone effect"
)
);
set_help
(
MODULE_DESCRIPTION
);
set_category
(
CAT_AUDIO
);
set_subcategory
(
SUBCAT_AUDIO_AFILTER
);
...
...
modules/gui/qt4/components/preferences.cpp
View file @
5ca8805a
...
...
@@ -384,7 +384,14 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
p_item
++
;
// Why that ?
}
else
head
=
QString
(
p_module
->
psz_longname
);
{
head
=
QString
(
qfu
(
p_module
->
psz_longname
)
);
if
(
p_module
->
psz_help
)
{
head
.
append
(
"
\n
"
);
head
.
append
(
qfu
(
p_module
->
psz_help
)
);
}
}
QLabel
*
label
=
new
QLabel
(
head
,
this
);
QFont
font
=
label
->
font
();
...
...
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