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
da59205e
Commit
da59205e
authored
Jun 20, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Playlist: create playlist-autostart just once
parent
13fb436d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/playlist/engine.c
src/playlist/engine.c
+1
-0
src/playlist/item.c
src/playlist/item.c
+1
-1
No files found.
src/playlist/engine.c
View file @
da59205e
...
@@ -397,6 +397,7 @@ static void VariablesInit( playlist_t *p_playlist )
...
@@ -397,6 +397,7 @@ static void VariablesInit( playlist_t *p_playlist )
var_SetInteger
(
p_playlist
,
"activity"
,
0
);
var_SetInteger
(
p_playlist
,
"activity"
,
0
);
/* Variables to control playback */
/* Variables to control playback */
var_Create
(
p_playlist
,
"playlist-autostart"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"play-and-stop"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
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
,
"play-and-exit"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"random"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"random"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
...
...
src/playlist/item.c
View file @
da59205e
...
@@ -64,7 +64,7 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
...
@@ -64,7 +64,7 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
assert
(
p_item
!=
NULL
);
assert
(
p_item
!=
NULL
);
bool
b_current
=
get_current_status_item
(
p_playlist
)
==
p_item
;
bool
b_current
=
get_current_status_item
(
p_playlist
)
==
p_item
;
bool
b_autostart
=
var_
Create
GetBool
(
p_playlist
,
"playlist-autostart"
);
bool
b_autostart
=
var_GetBool
(
p_playlist
,
"playlist-autostart"
);
bool
b_stop
=
p_item
->
i_flags
&
PLAYLIST_SUBITEM_STOP_FLAG
;
bool
b_stop
=
p_item
->
i_flags
&
PLAYLIST_SUBITEM_STOP_FLAG
;
bool
b_flat
=
false
;
bool
b_flat
=
false
;
...
...
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