Changeset 2d7ef1f4bb145fd0ea210edefd32f60e2eabb214
- Timestamp:
- 06/28/08 20:24:16
(2 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214677456 +0300
- git-parent:
[f8fbd68453c4f2dd24de8bc4864993afdf40eccf]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214677344 +0300
- Message:
vout: use vlc_custom_create
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r03fa43b |
r2d7ef1f |
|
| 250 | 250 | i_size = sizeof(filter_t); |
|---|
| 251 | 251 | psz_type = "filter"; |
|---|
| 252 | | break; |
|---|
| 253 | | case VLC_OBJECT_VOUT: |
|---|
| 254 | | i_size = sizeof(vout_thread_t); |
|---|
| 255 | | psz_type = "video output"; |
|---|
| 256 | 252 | break; |
|---|
| 257 | 253 | case VLC_OBJECT_AOUT: |
|---|
| r51b21bc |
r2d7ef1f |
|
| 244 | 244 | |
|---|
| 245 | 245 | /* Allocate descriptor */ |
|---|
| 246 | | p_vout = vlc_object_create( p_parent, VLC_OBJECT_VOUT ); |
|---|
| | 246 | static const char typename[] = "video output"; |
|---|
| | 247 | p_vout = vlc_custom_create( p_parent, sizeof( *p_vout ), VLC_OBJECT_VOUT, |
|---|
| | 248 | typename ); |
|---|
| 247 | 249 | if( p_vout == NULL ) |
|---|
| 248 | 250 | return NULL; |
|---|