Changeset 1524a416f434bfd6f370eacb1157efeaab13d553
- Timestamp:
- 15/10/07 17:23:44
(1 year ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1192461824 +0000
- git-parent:
[e0b273dd96afb640a690bb816ed6a21688e335a3]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1192461824 +0000
- Message:
control/media_list_view.c: Implement unimplemented retain/release function.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfb60ee5 |
r1524a41 |
|
| 513 | 513 | libvlc_media_list_view_retain( libvlc_media_list_view_t * p_mlv ); |
|---|
| 514 | 514 | |
|---|
| | 515 | VLC_PUBLIC_API void |
|---|
| | 516 | libvlc_media_list_view_release( libvlc_media_list_view_t * p_mlv ); |
|---|
| | 517 | |
|---|
| 515 | 518 | VLC_PUBLIC_API int |
|---|
| 516 | 519 | libvlc_media_list_view_count( libvlc_media_list_view_t * p_mlv, |
|---|
| rfb60ee5 |
r1524a41 |
|
| 125 | 125 | p_mlv->pf_release = pf_release; |
|---|
| 126 | 126 | |
|---|
| 127 | | p_mlv->this_view_data = this_view_data; |
|---|
| | 127 | p_mlv->p_this_view_data = this_view_data; |
|---|
| 128 | 128 | |
|---|
| 129 | 129 | vlc_mutex_init( p_mlv->p_libvlc_instance->p_libvlc_int, &p_mlv->object_lock ); |
|---|
| … | … | |
| 137 | 137 | * Public libvlc functions |
|---|
| 138 | 138 | */ |
|---|
| | 139 | |
|---|
| | 140 | /************************************************************************** |
|---|
| | 141 | * libvlc_media_list_view_retain (Public) |
|---|
| | 142 | **************************************************************************/ |
|---|
| | 143 | void |
|---|
| | 144 | libvlc_media_list_view_release( libvlc_media_list_view_t * p_mlv ) |
|---|
| | 145 | { |
|---|
| | 146 | vlc_mutex_lock( &p_mlv->object_lock ); |
|---|
| | 147 | p_mlv->i_refcount++; |
|---|
| | 148 | vlc_mutex_unlock( &p_mlv->object_lock ); |
|---|
| | 149 | } |
|---|
| 139 | 150 | |
|---|
| 140 | 151 | /************************************************************************** |
|---|