mirror of
https://github.com/jellyfin/JavascriptSubtitlesOctopus.git
synced 2024-11-26 23:50:39 +00:00
According to [1], `ass_set_storage_size` must be called to render transforms correctly.
References:
[1] https://github.com/libass/libass/issues/591
Cherry-picked from: 0c258cf996
This commit is contained in:
parent
1b6693c942
commit
19942b5a89
@ -375,6 +375,7 @@ public:
|
||||
/* CANVAS */
|
||||
void resizeCanvas(int frame_w, int frame_h) {
|
||||
ass_set_frame_size(ass_renderer, frame_w, frame_h);
|
||||
ass_set_storage_size(ass_renderer, frame_w, frame_h);
|
||||
canvas_h = frame_h;
|
||||
canvas_w = frame_w;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user