From 77ec83e351ca7218464f8f77a711520d68fa2e5d Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 29 Apr 2008 15:12:19 +0300 Subject: Add a context for mp_fifo Store data in an allocated context and take it as an argument instead of using static variables. --- libvo/video_out.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libvo/video_out.h') diff --git a/libvo/video_out.h b/libvo/video_out.h index 24dd5918cf..a62a9b335b 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -213,6 +213,7 @@ struct vo { void *priv; struct MPOpts *opts; struct vo_x11_state *x11; + struct mp_fifo *key_fifo; // requested position/resolution int dx; @@ -221,7 +222,8 @@ struct vo { int dheight; }; -struct vo *init_best_video_out(struct MPOpts *opts, struct vo_x11_state *x11); +struct vo *init_best_video_out(struct MPOpts *opts, struct vo_x11_state *x11, + struct mp_fifo *key_fifo); 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); -- cgit v1.2.3