[MPlayer-cvslog] r38349 - trunk/sub/ass_mp.c
reimar
subversion at mplayerhq.hu
Sun Feb 27 11:03:22 EET 2022
Author: reimar
Date: Sun Feb 27 11:03:21 2022
New Revision: 38349
Log:
sub/ass_mp: call ass_set_storage_size.
This is necessary to render some subtitles correctly.
Patch by Oneric (oneric -at- oneric de)
Modified:
trunk/sub/ass_mp.c
Modified: trunk/sub/ass_mp.c
==============================================================================
--- trunk/sub/ass_mp.c Sat Feb 26 19:15:57 2022 (r38348)
+++ trunk/sub/ass_mp.c Sun Feb 27 11:03:21 2022 (r38349)
@@ -340,6 +340,7 @@ static void eosd_ass_update(struct mp_eo
ass_configure(ass_renderer, res->w, res->h, res->unscaled);
ass_set_margins(ass_renderer, res->mt + ass_top_margin, res->mb + ass_bottom_margin, res->ml, res->mr);
ass_set_aspect_ratio(ass_renderer, dar, (double)res->srcw / res->srch);
+ ass_set_storage_size(ass_renderer, res->srcw, res->srch);
src->initialized = 1;
ass_force_reload = 0;
}
More information about the MPlayer-cvslog
mailing list