Changeset 82a358acc2f5a2d2b795b4d5ef9458972938ffa2
- Timestamp:
- 05/06/08 23:56:16
(1 week ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1210110976 +0200
- git-parent:
[ce7d502e6cc83a6d1f2ea13f462e5ef7f6835606]
- git-author:
- Rafaël Carré <funman@videolan.org> 1210110958 +0200
- Message:
Fix #1487 - race condition
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7bc28ee |
r82a358a |
|
| 438 | 438 | |
|---|
| 439 | 439 | p_playlist->i_current_index++; |
|---|
| | 440 | assert( p_playlist->i_current_index <= p_playlist->current.i_size ); |
|---|
| 440 | 441 | if( p_playlist->i_current_index == p_playlist->current.i_size ) |
|---|
| 441 | 442 | { |
|---|
| r6da90a1 |
r82a358a |
|
| 353 | 353 | * - Request, stopped requested -> collect garbage |
|---|
| 354 | 354 | */ |
|---|
| 355 | | if( p_playlist->request.i_status != PLAYLIST_STOPPED ) |
|---|
| | 355 | int i_status = p_playlist->request.b_request ? |
|---|
| | 356 | p_playlist->request.i_status : p_playlist->status.i_status; |
|---|
| | 357 | if( i_status != PLAYLIST_STOPPED ) |
|---|
| 356 | 358 | { |
|---|
| 357 | 359 | msg_Dbg( p_playlist, "starting new item" ); |
|---|