summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 11:06:55 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 14:46:17 +0300
commitbfcb3a7a8130be478103beb1923567f5e5d86c67 (patch)
treee8a376f6cebf586fff714f1b49b83c0e695b0cdb /libvo/video_out.h
parent32e52b8fd0b917a40a9192770cc1a41aa31b34d0 (diff)
downloadmpv-bfcb3a7a8130be478103beb1923567f5e5d86c67.tar.bz2
mpv-bfcb3a7a8130be478103beb1923567f5e5d86c67.tar.xz
input: Move key filedescriptor list to context struct
The context variable is now passed to VOs too as it's now needed to add a callback on the X filedescriptor.
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index a62a9b335b..4e9f3abeae 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -214,6 +214,7 @@ struct vo {
struct MPOpts *opts;
struct vo_x11_state *x11;
struct mp_fifo *key_fifo;
+ struct input_ctx *input_ctx;
// requested position/resolution
int dx;
@@ -223,7 +224,8 @@ struct vo {
};
struct vo *init_best_video_out(struct MPOpts *opts, struct vo_x11_state *x11,
- struct mp_fifo *key_fifo);
+ struct mp_fifo *key_fifo,
+ struct input_ctx *input_ctx);
int vo_config(struct vo *vo, uint32_t width, uint32_t height,
uint32_t d_width, uint32_t d_height, uint32_t flags,
char *title, uint32_t format);