summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.h2
-rw-r--r--libvo/vo_vdpau.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 0630aee9ca..5fac7dd02d 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -77,7 +77,7 @@ struct voctrl_get_equalizer_args {
#define VOCTRL_BORDER 27
#define VOCTRL_DRAW_EOSD 28
#define VOCTRL_GET_EOSD_RES 29
-typedef struct {
+typedef struct mp_eosd_res {
int w, h; // screen dimensions, including black borders
int mt, mb, ml, mr; // borders (top, bottom, left, right)
} mp_eosd_res_t;
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index f8748b5574..68ff7c2573 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -1803,7 +1803,7 @@ static int control(struct vo *vo, uint32_t request, void *data)
draw_eosd(vo);
return VO_TRUE;
case VOCTRL_GET_EOSD_RES: {
- mp_eosd_res_t *r = data;
+ struct mp_eosd_res *r = data;
r->w = vo->dwidth;
r->h = vo->dheight;
r->ml = r->mr = vc->border_x;