cocoa_common: save state in the vo struct instead of globals
commit8ef23cb404421a56cc985fa58bb7f23f7940f94c
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Thu, 13 Sep 2012 07:32:59 +0000 (13 09:32 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sat, 10 Nov 2012 20:02:06 +0000 (10 22:02 +0200)
treec82f0d99d367a984410f07feef17048203cf5619
parenta424493743fa8d5e00a1c070628052e209de3f67
cocoa_common: save state in the vo struct instead of globals

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.
libvo/cocoa_common.h
libvo/cocoa_common.m
libvo/gl_common.c
libvo/video_out.h
libvo/vo_corevideo.m