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:
1 parent
413153fd4e
commit
e89a491052
1 file changed
+1
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user