summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 17:51:20 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:10 +0100
commitc8268701d9a4c5ff38b48f0e6b689f6dade4de42 (patch)
tree05d8a24ffc867f977a2178f5940d5723d82926bd /video/out/vo.c
parent2eefa31c886723bcc30664ea9fe3e2420f2cc0c6 (diff)
downloadmpv-c8268701d9a4c5ff38b48f0e6b689f6dade4de42.tar.bz2
mpv-c8268701d9a4c5ff38b48f0e6b689f6dade4de42.tar.xz
video/out: pass along global context
Will be needed for other parts (especially in gl_lcms.c).
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 5b29becbef..8bc4633ecc 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -160,6 +160,7 @@ static struct vo *vo_create(struct mpv_global *global,
.log = mp_log_new(vo, log, name),
.driver = desc.p,
.opts = &global->opts->vo,
+ .global = global,
.encode_lavc_ctx = encode_lavc_ctx,
.input_ctx = input_ctx,
.event_fd = -1,