diff options
author | wm4 <wm4@nowhere> | 2015-08-20 15:20:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-20 15:20:20 +0200 |
commit | 0d5541af47c3680094364322883d0a81ff5a8cc1 (patch) | |
tree | 8997852a0e65bbbd2124edf63f2c14feda311093 /video/out/vo_rpi.c | |
parent | 1b93a7a89512d1250b3b6069aa788a522625ab71 (diff) | |
download | mpv-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.)
Diffstat (limited to 'video/out/vo_rpi.c')
-rw-r--r-- | video/out/vo_rpi.c | 2 |
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); |