mirror of https://github.com/mpv-player/mpv
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:
parent
1b93a7a895
commit
0d5541af47
|
@ -239,7 +239,7 @@ static int update_display_size(struct vo *vo)
|
|||
.opacity = 0xFF,
|
||||
};
|
||||
p->osd_overlay = vc_dispmanx_element_add(p->update, p->display,
|
||||
p->background_layer + 2,
|
||||
p->osd_layer,
|
||||
&dst, 0, &src,
|
||||
DISPMANX_PROTECTION_NONE,
|
||||
&alpha, 0, 0);
|
||||
|
|
Loading…
Reference in New Issue