diff options
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r-- | video/out/vo_vdpau.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index cae28cdd84..a9e115c8fa 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -596,7 +596,7 @@ static void generate_osd_part(struct vo *vo, struct sub_bitmaps *imgs) case SUBBITMAP_LIBASS: format = VDP_RGBA_FORMAT_A8; break; - case SUBBITMAP_RGBA: + case SUBBITMAP_BGRA: format = VDP_RGBA_FORMAT_B8G8R8A8; break; default: @@ -687,7 +687,7 @@ static void draw_osd(struct vo *vo) bool formats[SUBBITMAP_COUNT] = { [SUBBITMAP_LIBASS] = vc->supports_a8, - [SUBBITMAP_RGBA] = true, + [SUBBITMAP_BGRA] = true, }; double pts = vc->current_image ? vc->current_image->pts : 0; |