Changeset bbf6e4fecf2f42178726ddbcf050c03b6e28b749
- Timestamp:
- 04/01/08 22:31:07
(5 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1207081867 +0200
- git-parent:
[0c7849a6a0e9adc04c539df6716329bd9996a56f]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1207081867 +0200
- Message:
playlist: Correctly indicate why we put a buggy yield() at this place. And document a bit that nasty recusrsive ML_Decref() function.
This comes with my official excuses to funman.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0c7849a |
rbbf6e4f |
|
| 485 | 485 | } |
|---|
| 486 | 486 | |
|---|
| 487 | | vlc_gc_incref( p_playlist->p_ml_category->p_input ); |
|---|
| 488 | 487 | playlist_MLDump( p_playlist ); |
|---|
| 489 | 488 | /* We don't need the media library anymore */ |
|---|
| | 489 | |
|---|
| | 490 | /* Because this nasty recursive function decreases the |
|---|
| | 491 | * p_playlist->p_ml_category refcount, it may get deleted. |
|---|
| | 492 | * However we will delete the p_playlist->p_ml_category in the |
|---|
| | 493 | * following FOREACH. */ |
|---|
| | 494 | vlc_gc_incref( p_playlist->p_ml_category ); |
|---|
| | 495 | |
|---|
| | 496 | /* Decref all subitems, and the given items */ |
|---|
| 490 | 497 | ML_Decref( p_playlist->p_ml_category ); |
|---|
| 491 | 498 | |
|---|