Changeset 4842d4ca513956dbc2ade8238a995717e0681815
- Timestamp:
- 12/11/04 16:41:22
(4 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1100274082 +0000
- git-parent:
[a0ffcd868718ca8a354da272e6ec0934c960a718]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1100274082 +0000
- Message:
* src/playlist/*: a couple of compilation fixes.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rab674ac |
r4842d4c |
|
| 247 | 247 | if( i_duration != -1 ) |
|---|
| 248 | 248 | { |
|---|
| 249 | | secstotimestr( psz_buffer, i_duration/1000000 ); |
|---|
| | 249 | secstotimestr( psz_buffer, (int)(i_duration/1000000) ); |
|---|
| 250 | 250 | } |
|---|
| 251 | 251 | else |
|---|
| … | … | |
| 292 | 292 | } |
|---|
| 293 | 293 | } |
|---|
| 294 | | return ITEM_TYPE_UNKNOWN; |
|---|
| 295 | | } |
|---|
| | 294 | p_item->i_type = ITEM_TYPE_UNKNOWN; |
|---|
| | 295 | } |
|---|
| r382926a |
r4842d4c |
|
| 222 | 222 | int playlist_vaControl( playlist_t * p_playlist, int i_query, va_list args ) |
|---|
| 223 | 223 | { |
|---|
| 224 | | vlc_mutex_lock( &p_playlist->object_lock ); |
|---|
| 225 | | |
|---|
| 226 | 224 | playlist_view_t *p_view; |
|---|
| 227 | 225 | vlc_value_t val; |
|---|
| | 226 | |
|---|
| | 227 | vlc_mutex_lock( &p_playlist->object_lock ); |
|---|
| 228 | 228 | |
|---|
| 229 | 229 | #ifdef PLAYLIST_PROFILE |
|---|
| rf9d5e2b |
r4842d4c |
|
| 91 | 91 | int playlist_ViewInsert( playlist_t *p_playlist, int i_id, char *psz_name ) |
|---|
| 92 | 92 | { |
|---|
| 93 | | playlist_view_t *p_view = playlist_ViewCreate( p_playlist, i_id , psz_name); |
|---|
| | 93 | playlist_view_t *p_view = |
|---|
| | 94 | playlist_ViewCreate( p_playlist, i_id , psz_name ); |
|---|
| 94 | 95 | if( !p_view ) |
|---|
| 95 | 96 | { |
|---|
| … | … | |
| 100 | 101 | vlc_mutex_lock( &p_playlist->object_lock ); |
|---|
| 101 | 102 | |
|---|
| 102 | | INSERT_ELEM( p_playlist->pp_views, |
|---|
| 103 | | p_playlist->i_views, |
|---|
| 104 | | p_playlist->i_views, |
|---|
| 105 | | p_view ); |
|---|
| | 103 | INSERT_ELEM( p_playlist->pp_views, p_playlist->i_views, |
|---|
| | 104 | p_playlist->i_views, p_view ); |
|---|
| 106 | 105 | |
|---|
| 107 | 106 | vlc_mutex_unlock( &p_playlist->object_lock ); |
|---|
| | 107 | return VLC_SUCCESS; |
|---|
| 108 | 108 | } |
|---|
| 109 | 109 | |
|---|