summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-29 15:12:19 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-29 15:36:51 +0300
commit77ec83e351ca7218464f8f77a711520d68fa2e5d (patch)
treea34d66134176ded3eeff149c756eecfd0ea52304 /libvo/video_out.h
parentf59cda84b1e52293e656fffea1529896d28b2d21 (diff)
downloadmpv-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.h4
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);