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
0f9541fa
Commit
0f9541fa
authored
Aug 11, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not check that playlist has an input twice
(This does NOT fix the RC pause deadlock)
parent
e7dfcd8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
src/playlist/control.c
src/playlist/control.c
+9
-10
No files found.
src/playlist/control.c
View file @
0f9541fa
...
...
@@ -151,22 +151,21 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
break
;
case
PLAYLIST_PAUSE
:
if
(
pl_priv
(
p_playlist
)
->
p_input
&&
var_GetInteger
(
pl_priv
(
p_playlist
)
->
p_input
,
"state"
)
==
PAUSE_S
)
if
(
!
pl_priv
(
p_playlist
)
->
p_input
)
{
/* FIXME: is this really useful without input? */
pl_priv
(
p_playlist
)
->
status
.
i_status
=
PLAYLIST_PAUSED
;
break
;
}
if
(
var_GetInteger
(
pl_priv
(
p_playlist
)
->
p_input
,
"state"
)
==
PAUSE_S
)
{
pl_priv
(
p_playlist
)
->
status
.
i_status
=
PLAYLIST_RUNNING
;
if
(
pl_priv
(
p_playlist
)
->
p_input
)
{
var_SetInteger
(
pl_priv
(
p_playlist
)
->
p_input
,
"state"
,
PLAYING_S
);
}
var_SetInteger
(
pl_priv
(
p_playlist
)
->
p_input
,
"state"
,
PLAYING_S
);
}
else
{
pl_priv
(
p_playlist
)
->
status
.
i_status
=
PLAYLIST_PAUSED
;
if
(
pl_priv
(
p_playlist
)
->
p_input
)
{
var_SetInteger
(
pl_priv
(
p_playlist
)
->
p_input
,
"state"
,
PAUSE_S
);
}
var_SetInteger
(
pl_priv
(
p_playlist
)
->
p_input
,
"state"
,
PAUSE_S
);
}
break
;
...
...
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