mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
parent
febb13d26f
commit
934c91682f
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ gst_ass_render_setcaps_video (GstPad * pad, GstCaps * caps)
|
||||||
dar, ((gdouble) render->width) / ((gdouble) render->height));
|
dar, ((gdouble) render->width) / ((gdouble) render->height));
|
||||||
#endif
|
#endif
|
||||||
ass_set_font_scale (render->ass_renderer, 1.0);
|
ass_set_font_scale (render->ass_renderer, 1.0);
|
||||||
ass_set_hinting (render->ass_renderer, ASS_HINTING_NATIVE);
|
ass_set_hinting (render->ass_renderer, ASS_HINTING_LIGHT);
|
||||||
|
|
||||||
#if !defined(LIBASS_VERSION) || LIBASS_VERSION < 0x00907000
|
#if !defined(LIBASS_VERSION) || LIBASS_VERSION < 0x00907000
|
||||||
ass_set_fonts (render->ass_renderer, "Arial", "sans-serif");
|
ass_set_fonts (render->ass_renderer, "Arial", "sans-serif");
|
||||||
|
|
Loading…
Reference in a new issue