1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 20:00:37 +00:00

vo_rpi: use correct variable for osd layer

This is a cosmetic change, because the value is exactly the same. (The
old code just duplicates the logic, sort of.)
This commit is contained in:
wm4 2015-08-20 15:20:20 +02:00
parent 1b93a7a895
commit 0d5541af47

View File

@ -239,7 +239,7 @@ static int update_display_size(struct vo *vo)
.opacity = 0xFF, .opacity = 0xFF,
}; };
p->osd_overlay = vc_dispmanx_element_add(p->update, p->display, p->osd_overlay = vc_dispmanx_element_add(p->update, p->display,
p->background_layer + 2, p->osd_layer,
&dst, 0, &src, &dst, 0, &src,
DISPMANX_PROTECTION_NONE, DISPMANX_PROTECTION_NONE,
&alpha, 0, 0); &alpha, 0, 0);