summaryrefslogtreecommitdiffstats
path: root/sub/sd_ass.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2024-02-27 02:12:46 +0100
committerDudemanguy <random342@airmail.cc>2024-03-02 15:57:02 +0000
commitd6981a4cac43629fe95115f20d0009941482cc13 (patch)
treecc19d71c85568a817687ffd8b2f35b42a1aec976 /sub/sd_ass.c
parentc8f1c822dcbe720f90e672ed9c084a1af3af7e97 (diff)
downloadmpv-d6981a4cac43629fe95115f20d0009941482cc13.tar.bz2
mpv-d6981a4cac43629fe95115f20d0009941482cc13.tar.xz
sub: add flag if sub_bitmap should be rendered in video color space
Diffstat (limited to 'sub/sd_ass.c')
-rw-r--r--sub/sd_ass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sd_ass.c b/sub/sd_ass.c
index f1ab23bb55..6fa4d1bb52 100644
--- a/sub/sd_ass.c
+++ b/sub/sd_ass.c
@@ -688,7 +688,7 @@ static struct sub_bitmaps *get_bitmaps(struct sd *sd, struct mp_osd_res dim,
int changed;
ASS_Image *imgs = ass_render_frame(renderer, track, ts, &changed);
- mp_ass_packer_pack(ctx->packer, &imgs, 1, changed, format, res);
+ mp_ass_packer_pack(ctx->packer, &imgs, 1, changed, !converted, format, res);
done:
// mangle_colors() modifies the color field, so copy the thing _before_.