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
cb06fa8d
Commit
cb06fa8d
authored
Aug 08, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: gather variables and callbacks (cosmetic)
parent
7e692c9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/playlist/engine.c
src/playlist/engine.c
+3
-4
No files found.
src/playlist/engine.c
View file @
cb06fa8d
...
...
@@ -413,21 +413,20 @@ static void VariablesInit( playlist_t *p_playlist )
var_Create
(
p_playlist
,
"play-and-stop"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"play-and-exit"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"random"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_AddCallback
(
p_playlist
,
"random"
,
RandomCallback
,
NULL
);
var_Create
(
p_playlist
,
"repeat"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"loop"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"rate"
,
VLC_VAR_FLOAT
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"rate-slower"
,
VLC_VAR_VOID
);
var_Create
(
p_playlist
,
"rate-faster"
,
VLC_VAR_VOID
);
var_AddCallback
(
p_playlist
,
"rate"
,
RateCallback
,
NULL
);
var_Create
(
p_playlist
,
"rate-slower"
,
VLC_VAR_VOID
);
var_AddCallback
(
p_playlist
,
"rate-slower"
,
RateOffsetCallback
,
NULL
);
var_Create
(
p_playlist
,
"rate-faster"
,
VLC_VAR_VOID
);
var_AddCallback
(
p_playlist
,
"rate-faster"
,
RateOffsetCallback
,
NULL
);
var_Create
(
p_playlist
,
"video-splitter"
,
VLC_VAR_STRING
|
VLC_VAR_DOINHERIT
);
var_AddCallback
(
p_playlist
,
"video-splitter"
,
VideoSplitterCallback
,
NULL
);
var_AddCallback
(
p_playlist
,
"random"
,
RandomCallback
,
NULL
);
/* */
var_Create
(
p_playlist
,
"album-art"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
...
...
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