summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-20 15:20:20 +0200
committerwm4 <wm4@nowhere>2015-08-20 15:20:20 +0200
commit0d5541af47c3680094364322883d0a81ff5a8cc1 (patch)
tree8997852a0e65bbbd2124edf63f2c14feda311093
parent1b93a7a89512d1250b3b6069aa788a522625ab71 (diff)
downloadmpv-0d5541af47c3680094364322883d0a81ff5a8cc1.tar.bz2
mpv-0d5541af47c3680094364322883d0a81ff5a8cc1.tar.xz
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.)
-rw-r--r--video/out/vo_rpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c
index ad4c5033c1..331e2a6917 100644
--- a/video/out/vo_rpi.c
+++ b/video/out/vo_rpi.c
@@ -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);