vlc/vlc-2.2 | branch: master | Felix Paul Kühne <[email protected]> | Tue 
Oct 13 15:22:50 2015 +0200| [4aa44a18917472dad00ce4fe5272fe472baa9947] | 
committer: Felix Paul Kühne

ass: auto-detect font-provider

Signed-off-by: Felix Paul Kühne <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=4aa44a18917472dad00ce4fe5272fe472baa9947
---

 modules/codec/libass.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/libass.c b/modules/codec/libass.c
index 8e32d64..a86f27a 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -226,7 +226,7 @@ static int Create( vlc_object_t *p_this )
                                _( "Please wait while your font cache is 
rebuilt.\n"
                                   "This should take less than a minute." ), 
NULL );
 #endif
-    ass_set_fonts( p_renderer, psz_font, psz_family, true, NULL, 1 );  // 
setup default font/family
+    ass_set_fonts( p_renderer, psz_font, psz_family, 1, NULL, 1 );  // setup 
default font/family
 #if defined(_WIN32) || defined(__APPLE__)
     if( p_dialog )
     {
@@ -236,7 +236,7 @@ static int Create( vlc_object_t *p_this )
 #endif
 #else
     /* FIXME you HAVE to give him a font if no fontconfig */
-    ass_set_fonts( p_renderer, psz_font, psz_family, false, NULL, 1 );
+    ass_set_fonts( p_renderer, psz_font, psz_family, 1, NULL, 1 );
 #endif
 
     /* Add a track */

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to