]> git.sesse.net Git - vlc/blobdiff - src/osd/osd_text.c
Simplify the creation of subpicture with dynamic content.
[vlc] / src / osd / osd_text.c
index 8b73c4c67240dcf2f2ee4eaa355380264b7d7d90..916a50c786acb358f3637a4bc9aafaaec3d840ba 100644 (file)
@@ -78,7 +78,7 @@ int osd_ShowTextAbsolute( spu_t *p_spu_channel, int i_channel,
 
     if( !psz_string ) return VLC_EGENERIC;
 
-    p_spu = subpicture_New();
+    p_spu = subpicture_New( NULL );
     if( !p_spu )
         return VLC_EGENERIC;