sub/packer: preserve video_color_space when packing to RGBA

The flag was lost when replacing the result with the packed image.
This commit is contained in:
Kacper Michajłow committed 2026-08-23 18:09:02 +02:00
1 parent 413153fd4e
commit e89a491052
1 file changed
+1
+1
View File
@@ -216,6 +216,7 @@ static bool pack_rgba(struct mp_sub_packer *p, struct sub_bitmaps *res)
.format = SUBBITMAP_BGRA,
.parts = p->rgba_imgs,
.num_parts = num_bb,
.video_color_space = res->video_color_space,
};
for (int n = 0; n < imgs.num_parts; n++) {