Changeset 11f5c39c9599017cb035f6eb17930f22a0997d45
- Timestamp:
- 13/08/08 00:57:24
(3 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1218581844 +0200
- git-parent:
[f622155e79ffc1deed8eba267627dd2e9760dca6]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1218576542 +0200
- Message:
playlist: Warning fixes.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfa81ade |
r11f5c39 |
|
| 49 | 49 | pl = libvlc_priv (p_this->p_libvlc)->p_playlist; |
|---|
| 50 | 50 | |
|---|
| 51 | | assert( pl != p_this /* This does not make sense to yield the playlist |
|---|
| | 51 | assert( VLC_OBJECT(pl) != p_this /* This does not make sense to yield the playlist |
|---|
| 52 | 52 | using pl_Yield. use vlc_object_yield in this case */ ); |
|---|
| 53 | 53 | |
|---|
| … | … | |
| 62 | 62 | assert( pl != NULL ); |
|---|
| 63 | 63 | |
|---|
| 64 | | assert( pl != p_this /* The rule is that pl_Release() should act on |
|---|
| | 64 | assert( VLC_OBJECT(pl) != p_this /* The rule is that pl_Release() should act on |
|---|
| 65 | 65 | the same object than pl_Yield() */ ); |
|---|
| 66 | 66 | |
|---|
| … | … | |
| 86 | 86 | playlist_item_t *p_item, *p_node; |
|---|
| 87 | 87 | vlc_value_t val; |
|---|
| | 88 | |
|---|
| | 89 | PL_ASSERT_LOCKED; |
|---|
| 88 | 90 | |
|---|
| 89 | 91 | if( !vlc_object_alive( p_playlist ) ) |
|---|
| … | … | |
| 177 | 179 | break; |
|---|
| 178 | 180 | } |
|---|
| 179 | | vlc_object_signal_maybe( VLC_OBJECT(p_playlist) ); |
|---|
| | 181 | vlc_object_signal_unlocked( p_playlist ); |
|---|
| 180 | 182 | |
|---|
| 181 | 183 | return VLC_SUCCESS; |
|---|