Commit 6cf6df7c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove VLC_OBJECT_OSDMENU

parent a2b8b0ae
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#define VLC_OBJECT_AOUT (-10) #define VLC_OBJECT_AOUT (-10)
#define VLC_OBJECT_PACKETIZER (-13) #define VLC_OBJECT_PACKETIZER (-13)
#define VLC_OBJECT_ENCODER (-14) #define VLC_OBJECT_ENCODER (-14)
#define VLC_OBJECT_OSDMENU (-28)
/* Please add new object types below -34 */ /* Please add new object types below -34 */
/* Please do not add new object types anyway */ /* Please do not add new object types anyway */
#define VLC_OBJECT_GENERIC (-666) #define VLC_OBJECT_GENERIC (-666)
......
...@@ -95,7 +95,6 @@ static int vlc_object_type_from_string( const char *psz_name ) ...@@ -95,7 +95,6 @@ static int vlc_object_type_from_string( const char *psz_name )
{ VLC_OBJECT_AOUT, "aout" }, { VLC_OBJECT_AOUT, "aout" },
{ VLC_OBJECT_PACKETIZER, "packetizer" }, { VLC_OBJECT_PACKETIZER, "packetizer" },
{ VLC_OBJECT_ENCODER, "encoder" }, { VLC_OBJECT_ENCODER, "encoder" },
{ VLC_OBJECT_OSDMENU, "osdmenu" },
{ VLC_OBJECT_GENERIC, "generic" }, { VLC_OBJECT_GENERIC, "generic" },
{ 0, "" } }; { 0, "" } };
int i; int i;
......
...@@ -156,7 +156,7 @@ object.find( object, type, mode ): Find an object of given type. mode can ...@@ -156,7 +156,7 @@ object.find( object, type, mode ): Find an object of given type. mode can
"object"'s children. If set to "anywhere", it will look in all the "object"'s children. If set to "anywhere", it will look in all the
objects. If object is unset, the current module's object will be used. objects. If object is unset, the current module's object will be used.
Type can be: "libvlc", "playlist", "input", "decoder", Type can be: "libvlc", "playlist", "input", "decoder",
"vout", "aout", "packetizer", "encoder", "osdmenu", "generic". "vout", "aout", "packetizer", "encoder", "generic".
This function is deprecated and slow and should be avoided. This function is deprecated and slow and should be avoided.
object.find_name( object, name, mode ): Same as above except that it matches object.find_name( object, name, mode ): Same as above except that it matches
on the object's name and not type. This function is also slow and should on the object's name and not type. This function is also slow and should
......
...@@ -153,8 +153,8 @@ osd_menu_t *__osd_MenuCreate( vlc_object_t *p_this, const char *psz_file ) ...@@ -153,8 +153,8 @@ osd_menu_t *__osd_MenuCreate( vlc_object_t *p_this, const char *psz_file )
{ {
static const char osdmenu_name[] = "osd menu"; static const char osdmenu_name[] = "osd menu";
p_osd = vlc_custom_create( p_this, sizeof( *p_osd ), VLC_OBJECT_OSDMENU, p_osd = vlc_custom_create( p_this, sizeof( *p_osd ),
osdmenu_name ); VLC_OBJECT_GENERIC, osdmenu_name );
if( !p_osd ) if( !p_osd )
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment