]> git.sesse.net Git - vlc/blobdiff - src/video_output/video_output.c
* src/video_output/vout_subpictures.c: support for subpictures filters.
[vlc] / src / video_output / video_output.c
index a4a1736e52c4a7d4247fbd52a4bc0b3576f881c5..5bdbb12b854f351f3517551f97d0cee79cc4cbf5 100644 (file)
@@ -287,12 +287,14 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent,
     var_Create( p_vout, "mouse-clicked", VLC_VAR_INTEGER );
 
     /* Initialize subpicture unit */
-    p_vout->p_spu = spu_Init( p_vout );
+    p_vout->p_spu = spu_Create( p_vout );
     spu_Attach( p_vout->p_spu, p_parent, VLC_TRUE );
 
     /* Attach the new object now so we can use var inheritance below */
     vlc_object_attach( p_vout, p_parent );
 
+    spu_Init( p_vout->p_spu );
+
     /* Take care of some "interface/control" related initialisations */
     vout_IntfInit( p_vout );