]> git.sesse.net Git - vlc/blobdiff - src/osd/osd_widgets.c
Removed spu_Create/DestroySubpicture in favor of subpicture_*.
[vlc] / src / osd / osd_widgets.c
index 76765165074b73c5571c4f66750326c6f3c762b1..5e880ead03e9e8faf0a411d1e81b9feade270ca6 100644 (file)
@@ -196,8 +196,10 @@ subpicture_t *osd_CreateWidget( spu_t *p_spu, int i_channel )
     subpicture_t *p_subpic;
     mtime_t i_now = mdate();
 
+    VLC_UNUSED(p_spu);
+
     /* Create and initialize a subpicture */
-    p_subpic = spu_CreateSubpicture( p_spu );
+    p_subpic = subpicture_New();
     if( p_subpic == NULL ) return NULL;
 
     p_subpic->i_channel = i_channel;