Skip to content

Commit

Permalink
vo_gpu_next: render subtitles at video colorspace
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 authored and Dudemanguy committed Mar 2, 2024
1 parent d6981a4 commit 9325ebe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions video/out/vo_gpu_next.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ static void update_overlays(struct vo *vo, struct mp_osd_res res,
}
break;
case SUBBITMAP_LIBASS:
if (src && item->video_color_space)
ol->color = src->params.color;
ol->mode = PL_OVERLAY_MONOCHROME;
ol->repr.alpha = PL_ALPHA_INDEPENDENT;
break;
Expand Down

0 comments on commit 9325ebe

Please sign in to comment.