(Same reasons as VLC_OBJECT_AOUT)
/* Object types */
#define VLC_OBJECT_INPUT (-7)
#define VLC_OBJECT_DECODER (-8)
-#define VLC_OBJECT_VOUT (-9)
/* Please add new object types below -34 */
/* Please do not add new object types anyway */
#define VLC_OBJECT_GENERIC (-666)
/* FIXME ObjectKillChildrens seems a very bad idea in fact */
i = vlc_internals( p_obj )->i_object_type;
- if( i == VLC_OBJECT_VOUT ||
- p_obj == VLC_OBJECT(p_input->p->p_sout) ||
+ if( p_obj == VLC_OBJECT(p_input->p->p_sout) ||
i == VLC_OBJECT_DECODER )
return;
/* Allocate descriptor */
vout_thread_t *vout = vlc_custom_create(object,
sizeof(*vout) + sizeof(*vout->p),
- VLC_OBJECT_VOUT, "video output");
+ VLC_OBJECT_GENERIC, "video output");
if (!vout) {
video_format_Clean(&original);
return NULL;