Commit 7d0d4a9e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

libass: fix subtitles for iOS

Close #19134
parent 994431c8
......@@ -246,13 +246,13 @@ static int Create( vlc_object_t *p_this )
_( "Please wait while your font cache is rebuilt.\n"
"This should take less than a minute." ) );
#endif
ass_set_fonts( p_renderer, psz_font, psz_family, 1, NULL, 1 ); // setup default font/family
ass_set_fonts( p_renderer, psz_font, psz_family, ASS_FONTPROVIDER_AUTODETECT, NULL, 1 ); // setup default font/family
#if defined(_WIN32)
if( p_dialog_id != 0 )
vlc_dialog_release( p_dec, p_dialog_id );
#endif
#else
ass_set_fonts( p_renderer, psz_font, psz_family, 0, NULL, 0 );
ass_set_fonts( p_renderer, psz_font, psz_family, ASS_FONTPROVIDER_AUTODETECT, NULL, 0 );
#endif
/* Anything else than NONE will break smooth img updating.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment