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
1 changed files with 1 additions and 1 deletions

View File

@ -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);