[vlc-devel] commit: Remove VLC_OBJECT_OPENGL ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 28 17:30:28 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 28 18:32:53 2008 +0300| [8d3e95ab7df77f25e2c285cd48b101c218fa8697] | committer: Rémi Denis-Courmont
Remove VLC_OBJECT_OPENGL
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d3e95ab7df77f25e2c285cd48b101c218fa8697
---
include/vlc_objects.h | 1 -
modules/misc/lua/libs/objects.c | 1 -
src/misc/objects.c | 4 ----
3 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index 84745eb..aac0042 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -41,7 +41,6 @@
#define VLC_OBJECT_AOUT (-10)
#define VLC_OBJECT_PACKETIZER (-13)
#define VLC_OBJECT_ENCODER (-14)
-#define VLC_OBJECT_OPENGL (-21)
#define VLC_OBJECT_OSDMENU (-28)
/* Please add new object types below -34 */
/* Please do not add new object types anyway */
diff --git a/modules/misc/lua/libs/objects.c b/modules/misc/lua/libs/objects.c
index a1f1121..593bd1f 100644
--- a/modules/misc/lua/libs/objects.c
+++ b/modules/misc/lua/libs/objects.c
@@ -97,7 +97,6 @@ static int vlc_object_type_from_string( const char *psz_name )
{ VLC_OBJECT_AOUT, "aout" },
{ VLC_OBJECT_PACKETIZER, "packetizer" },
{ VLC_OBJECT_ENCODER, "encoder" },
- { VLC_OBJECT_OPENGL, "opengl" },
{ VLC_OBJECT_OSDMENU, "osdmenu" },
{ VLC_OBJECT_GENERIC, "generic" },
{ 0, "" } };
diff --git a/src/misc/objects.c b/src/misc/objects.c
index af215e2..9493a01 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -231,10 +231,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
i_size = sizeof(aout_instance_t);
psz_type = "audio output";
break;
- case VLC_OBJECT_OPENGL:
- i_size = sizeof( vout_thread_t );
- psz_type = "opengl";
- break;
default:
assert( i_type > 0 ); /* unknown type?! */
i_size = i_type;
More information about the vlc-devel
mailing list