]> git.sesse.net Git - vlc/blobdiff - src/osd/osd_widgets.c
Simplify the creation of subpicture with dynamic content.
[vlc] / src / osd / osd_widgets.c
index ef9dd7b738598896ded54f1db0f78e9737656f02..5d989944fb217f919d00649e259fb47e4632d582 100644 (file)
@@ -198,7 +198,7 @@ subpicture_t *osd_CreateWidget( spu_t *p_spu, int i_channel )
     VLC_UNUSED(p_spu);
 
     /* Create and initialize a subpicture */
-    p_subpic = subpicture_New();
+    p_subpic = subpicture_New( NULL );
     if( p_subpic == NULL ) return NULL;
 
     p_subpic->i_channel = i_channel;