[vlc-commits] libass: correctly set fc options in ass_set_fonts call

Jean-Baptiste Kempf git at videolan.org
Sat Oct 14 23:53:48 CEST 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Oct 14 23:50:06 2017 +0200| [4362b695ed922314a3411a0d07f18a5a4472dcd9] | committer: Jean-Baptiste Kempf

libass: correctly set fc options in ass_set_fonts call

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4362b695ed922314a3411a0d07f18a5a4472dcd9
---

 modules/codec/libass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/libass.c b/modules/codec/libass.c
index cbc0fd2279..8a73497422 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -236,7 +236,7 @@ static int Create( vlc_object_t *p_this )
         vlc_dialog_release( p_dec, p_dialog_id );
 #endif
 #else
-    ass_set_fonts( p_renderer, psz_font, psz_family, 1, NULL, 1 );
+    ass_set_fonts( p_renderer, psz_font, psz_family, 0, NULL, 0 );
 #endif
 
     /* Anything else than NONE will break smooth img updating.



More information about the vlc-commits mailing list