diff options
author | wm4 <wm4@nowhere> | 2014-12-31 19:12:44 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-31 19:12:44 +0100 |
commit | 65f2c6c71676e4359d313ecf27744e525b662134 (patch) | |
tree | 59c62ef844f7428306fbcf77113cabb1c58c3bcb /video/out/vo.h | |
parent | 282e3202d52a84b868f6972532f10d97ee23c594 (diff) | |
download | mpv-65f2c6c71676e4359d313ecf27744e525b662134.tar.bz2 mpv-65f2c6c71676e4359d313ecf27744e525b662134.tar.xz |
vo_opengl_cb: pass context directly
This is simpler than setting the context after VO creation, which
requires the code to check for the context on every entrypoint.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 60982c9d65..3d4d654738 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -105,8 +105,6 @@ enum mp_voctrl { VOCTRL_GET_RECENT_FLIP_TIME, // int64_t* (using mp_time_us()) VOCTRL_GET_PREF_DEINT, // int* - - VOCTRL_SET_LIBMPV_OPENGL_CB_CONTEXT,// struct mpv_opengl_cb_context* }; // VOCTRL_SET_EQUALIZER @@ -169,6 +167,7 @@ struct vo_extra { struct input_ctx *input_ctx; struct osd_state *osd; struct encode_lavc_context *encode_lavc_ctx; + struct mpv_opengl_cb_context *opengl_cb_context; }; struct vo_driver { |