]> git.sesse.net Git - vlc/blobdiff - src/video_output/vout_subpictures.c
Remove SPU type
[vlc] / src / video_output / vout_subpictures.c
index 6531492e1daaa2947a05a931b436cdca2bccde0a..d9065dfe12706a26efffd275b1191d6f9b79566b 100644 (file)
@@ -76,7 +76,8 @@ enum {
 spu_t *__spu_Create( vlc_object_t *p_this )
 {
     int i_index;
-    spu_t *p_spu = vlc_object_create( p_this, VLC_OBJECT_SPU );
+    spu_t *p_spu = vlc_custom_create( p_this, sizeof( spu_t ),
+                                      VLC_OBJECT_GENERIC, "subpicture" );
 
     for( i_index = 0; i_index < VOUT_MAX_SUBPICTURES; i_index++)
     {