assrender: fix smooth scaling by disabling hinting
authorRafał Dzięgiel <rafostar.github@gmail.com>
Thu, 19 Nov 2020 17:03:11 +0000 (18:03 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 20 Oct 2021 09:57:43 +0000 (09:57 +0000)
commitc016bed9432aa419aa2d3014808374de0a287b69
tree3f94bf326c62a2e70dbe8225bbab7e611d4c6dd1
parent95c1f67d6925322609017e650e29e2442ec38335
assrender: fix smooth scaling by disabling hinting

When ass hinting value is set to anything other than NONE,
subtitles cannot use smooth scaling, thus all animations will jitter.

The libass author warns about possibility of breaking some scripts when it is enabled,
so lets do what is recommended and disable it to get the smooth scaling working.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1201>
subprojects/gst-plugins-bad/ext/assrender/gstassrender.c