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
15b0e318
Commit
15b0e318
authored
Feb 19, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: add missing playlist_Lock()/playlist_Unlock() for playlist_Status().
parent
d83d614c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/control/rc.c
modules/control/rc.c
+3
-1
No files found.
modules/control/rc.c
View file @
15b0e318
...
...
@@ -990,8 +990,9 @@ static int StateChanged( vlc_object_t *p_this, char const *psz_cmd,
p_input
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_INPUT
,
FIND_ANYWHERE
);
if
(
p_input
)
{
p_playlist
=
pl_Hold
(
p_input
);
char
cmd
[
6
];
p_playlist
=
pl_Hold
(
p_input
);
playlist_Lock
(
p_playlist
);
switch
(
playlist_Status
(
p_playlist
)
)
{
case
PLAYLIST_STOPPED
:
...
...
@@ -1006,6 +1007,7 @@ static int StateChanged( vlc_object_t *p_this, char const *psz_cmd,
default:
cmd
[
0
]
=
'\0'
;
}
/* var_GetInteger( p_input, "state" ) */
playlist_Unlock
(
p_playlist
);
msg_rc
(
STATUS_CHANGE
"( %s state: %d ): %s"
,
cmd
,
newval
.
i_int
,
ppsz_input_state
[
newval
.
i_int
]
);
...
...
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