diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-29 15:12:19 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-29 15:36:51 +0300 |
commit | 77ec83e351ca7218464f8f77a711520d68fa2e5d (patch) | |
tree | a34d66134176ded3eeff149c756eecfd0ea52304 /libvo/video_out.h | |
parent | f59cda84b1e52293e656fffea1529896d28b2d21 (diff) | |
download | mpv-77ec83e351ca7218464f8f77a711520d68fa2e5d.tar.bz2 mpv-77ec83e351ca7218464f8f77a711520d68fa2e5d.tar.xz |
Add a context for mp_fifo
Store data in an allocated context and take it as an argument instead
of using static variables.
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r-- | libvo/video_out.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |