]> git.sesse.net Git - vlc/blobdiff - bindings/mediacontrol/mediacontrol_audio_video.c
Moved "sub-filter" from spu_t to vout_thread_t.
[vlc] / bindings / mediacontrol / mediacontrol_audio_video.c
index 5b70613872a21a9fe22fbe16a65bcd822cd768fb..0d04316079142ff5cdf9f07e9fb0d6e5247cc652 100644 (file)
@@ -114,10 +114,9 @@ int mediacontrol_showtext( vout_thread_t *p_vout, int i_channel,
                            int i_flags, int i_hmargin, int i_vmargin,
                            mtime_t i_start, mtime_t i_stop )
 {
-    return osd_ShowTextAbsolute( vout_GetSpu( p_vout ), i_channel,
-                                 psz_string, p_style,
-                                 i_flags, i_hmargin, i_vmargin,
-                                 i_start, i_stop );
+    (void)p_style; (void)i_hmargin; (void)i_vmargin;
+    vout_OSDText( p_vout, i_channel, i_flags & ~SUBPICTURE_ALIGN_MASK,
+                  i_stop - i_start, psz_string );
 }