summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-09-13 09:32:59 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-10-16 07:19:32 +0200
commitb94619724327e555a348e2cdcd4c6d2ccde8f8b1 (patch)
treed66de095c8b3f494e9d86ce3ca80258949aa925c /libvo/video_out.h
parent511d5478f91f06ad3bc1354db68b114771c89812 (diff)
downloadmpv-b94619724327e555a348e2cdcd4c6d2ccde8f8b1.tar.bz2
mpv-b94619724327e555a348e2cdcd4c6d2ccde8f8b1.tar.xz
cocoa_common: save state in the vo struct
Save the cocoa state in an instance variable for the Objective-C part of the code and use a field in the vo struct for the raw C part of the code.
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 5ab5f96301..a36c56aa90 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -249,6 +249,7 @@ struct vo {
struct MPOpts *opts;
struct vo_x11_state *x11;
struct vo_w32_state *w32;
+ struct vo_cocoa_state *cocoa;
struct mp_fifo *key_fifo;
struct encode_lavc_context *encode_lavc_ctx;
struct input_ctx *input_ctx;