Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
96443b23
Commit
96443b23
authored
Apr 21, 2011
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
Apr 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc-module: Adding a input-title-format variable
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
697d7cd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/libvlc-module.c
src/libvlc-module.c
+8
-0
No files found.
src/libvlc-module.c
View file @
96443b23
...
...
@@ -783,6 +783,12 @@ static const char *const ppsz_clock_descriptions[] =
"This is the maximum size in bytes of the temporary files " \
"that will be used to store the timeshifted streams." )
#define INPUT_TITLE_FORMAT_TEXT N_( "Change title according to current media" )
#define INPUT_TITLE_FORMAT_LONGTEXT N_( "This option allows you to set the title according to what's being played<br>" \
"$a: Artist<br>$b: Album<br>$c: Copyright<br>$t: Title<br>$g: Genre<br>" \
"$n: Track num<br>$p: Now playing<br>$A: Date<br>$D: Duration<br>" \
"$Z: \"Now playing\" (Fall back on Title - Artist)" )
// DEPRECATED
#define SUB_CAT_LONGTEXT N_( \
"These options allow you to modify the behavior of the subpictures " \
...
...
@@ -1952,6 +1958,8 @@ vlc_module_begin ()
add_integer
(
"input-timeshift-granularity"
,
-
1
,
INPUT_TIMESHIFT_GRANULARITY_TEXT
,
INPUT_TIMESHIFT_GRANULARITY_LONGTEXT
,
true
)
add_string
(
"input-title-format"
,
"$a - $t"
,
INPUT_TITLE_FORMAT_TEXT
,
INPUT_TITLE_FORMAT_LONGTEXT
,
false
);
/* Decoder options */
add_category_hint
(
N_
(
"Decoders"
),
CODEC_CAT_LONGTEXT
,
true
)
add_string
(
"codec"
,
NULL
,
CODEC_TEXT
,
...
...
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