Skip to content

Commit 9325ebe

Browse files
kasper93Dudemanguy
authored andcommitted
vo_gpu_next: render subtitles at video colorspace
1 parent d6981a4 commit 9325ebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

video/out/vo_gpu_next.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ static void update_overlays(struct vo *vo, struct mp_osd_res res,
379379
}
380380
break;
381381
case SUBBITMAP_LIBASS:
382+
if (src && item->video_color_space)
383+
ol->color = src->params.color;
382384
ol->mode = PL_OVERLAY_MONOCHROME;
383385
ol->repr.alpha = PL_ALPHA_INDEPENDENT;
384386
break;

0 commit comments

Comments
 (0)