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
b9740273
Commit
b9740273
authored
May 31, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix play-and-stop behaviour with playlist_Command
parent
94cae6a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/playlist/playlist.c
src/playlist/playlist.c
+9
-2
No files found.
src/playlist/playlist.c
View file @
b9740273
...
...
@@ -400,15 +400,22 @@ static void RunThread ( playlist_t *p_playlist )
}
else
if
(
p_playlist
->
i_status
!=
PLAYLIST_STOPPED
)
{
/* Start another input. Let's check if that item has
* been forced. In that case, we override random (by not skipping)
* and play-and-stop */
vlc_bool_t
b_forced
;
var_Get
(
p_playlist
,
"prevent-skip"
,
&
val
);
b_forced
=
val
.
b_bool
;
if
(
val
.
b_bool
==
VLC_FALSE
)
{
SkipItem
(
p_playlist
,
0
);
}
val
.
b_bool
=
VLC_TRUE
;
/* Reset forced status */
val
.
b_bool
=
VLC_FALSE
;
var_Set
(
p_playlist
,
"prevent-skip"
,
val
);
/* Check for play-and-stop */
var_Get
(
p_playlist
,
"play-and-stop"
,
&
val
);
if
(
val
.
b_bool
==
VLC_FALSE
)
if
(
val
.
b_bool
==
VLC_FALSE
||
b_forced
==
VLC_TRUE
)
{
PlayItem
(
p_playlist
);
}
...
...
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