Changeset aaf55bf8e4f5066624e63ecb5f9efbef564a3548
- Timestamp:
- 03/29/08 12:06:01
(5 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1206788761 +0200
- git-parent:
[1e8999a2b68e8dfca7798051a42e81c0be7528b7]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1206788761 +0200
- Message:
Create OSD menu as a custom object
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1e8999a |
raaf55bf |
|
| 54 | 54 | #include "vlc_filter.h" |
|---|
| 55 | 55 | |
|---|
| 56 | | #include "vlc_osd.h" |
|---|
| 57 | 56 | #include "vlc_meta.h" |
|---|
| 58 | 57 | |
|---|
| … | … | |
| 310 | 309 | i_size = sizeof( announce_handler_t ); |
|---|
| 311 | 310 | psz_type = "announce"; |
|---|
| 312 | | break; |
|---|
| 313 | | case VLC_OBJECT_OSDMENU: |
|---|
| 314 | | i_size = sizeof( osd_menu_t ); |
|---|
| 315 | | psz_type = "osd menu"; |
|---|
| 316 | 311 | break; |
|---|
| 317 | 312 | case VLC_OBJECT_INTERACTION: |
|---|
| ra78e273 |
raaf55bf |
|
| 68 | 68 | { |
|---|
| 69 | 69 | osd_menu_t *p_menu; |
|---|
| 70 | | |
|---|
| 71 | | p_menu = vlc_object_create( p_this, VLC_OBJECT_OSDMENU ); |
|---|
| | 70 | static const char osdmenu_name[] = "osd menu"; |
|---|
| | 71 | |
|---|
| | 72 | p_menu = vlc_custom_create( p_this, sizeof( *p_menu ), VLC_OBJECT_OSDMENU, |
|---|
| | 73 | osdmenu_name ); |
|---|
| 72 | 74 | if( !p_menu ) |
|---|
| 73 | 75 | { |
|---|