diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-19 18:00:22 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-26 13:04:17 +0200 |
commit | 8612c771fcb7321a2d6e0ba79f6f3cf26ee7f70c (patch) | |
tree | 9beda246875d7df74496c78f3dace0404260b6ff /libvo | |
parent | 6d65f6889af5c4ad8874f59d97e73053fa31aba5 (diff) | |
download | mpv-8612c771fcb7321a2d6e0ba79f6f3cf26ee7f70c.tar.bz2 mpv-8612c771fcb7321a2d6e0ba79f6f3cf26ee7f70c.tar.xz |
cleanup: some random minor code simplification and cleanup
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/video_out.h | 2 | ||||
-rw-r--r-- | libvo/vo_vdpau.c | 2 |
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; |