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
11f5c39c
Commit
11f5c39c
authored
Aug 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: Warning fixes.
parent
f622155e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/playlist/control.c
src/playlist/control.c
+5
-3
No files found.
src/playlist/control.c
View file @
11f5c39c
...
...
@@ -48,7 +48,7 @@ playlist_t *__pl_Yield( vlc_object_t *p_this )
barrier
();
pl
=
libvlc_priv
(
p_this
->
p_libvlc
)
->
p_playlist
;
assert
(
pl
!=
p_this
/* This does not make sense to yield the playlist
assert
(
VLC_OBJECT
(
pl
)
!=
p_this
/* This does not make sense to yield the playlist
using pl_Yield. use vlc_object_yield in this case */
);
if
(
pl
)
...
...
@@ -61,7 +61,7 @@ void __pl_Release( vlc_object_t *p_this )
playlist_t
*
pl
=
libvlc_priv
(
p_this
->
p_libvlc
)
->
p_playlist
;
assert
(
pl
!=
NULL
);
assert
(
pl
!=
p_this
/* The rule is that pl_Release() should act on
assert
(
VLC_OBJECT
(
pl
)
!=
p_this
/* The rule is that pl_Release() should act on
the same object than pl_Yield() */
);
vlc_object_release
(
pl
);
...
...
@@ -86,6 +86,8 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
playlist_item_t
*
p_item
,
*
p_node
;
vlc_value_t
val
;
PL_ASSERT_LOCKED
;
if
(
!
vlc_object_alive
(
p_playlist
)
)
return
VLC_EGENERIC
;
...
...
@@ -176,7 +178,7 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
return
VLC_EBADVAR
;
break
;
}
vlc_object_signal_
maybe
(
VLC_OBJECT
(
p_playlist
)
);
vlc_object_signal_
unlocked
(
p_playlist
);
return
VLC_SUCCESS
;
}
...
...
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