summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_vdpau.c')
-rw-r--r--libvo/vo_vdpau.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index 6c68210386..2ee7cccf9b 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -1400,6 +1400,7 @@ static int control(uint32_t request, void *data, ...)
case VOCTRL_GET_EOSD_RES: {
mp_eosd_res_t *r = data;
r->mt = r->mb = r->ml = r->mr = 0;
+ r->srcw = vid_width; r->srch = vid_height;
if (vo_fs) {
r->w = vo_screenwidth;
r->h = vo_screenheight;