From 70e3b2c347fb7371b4780e315d34ec309efa641c Mon Sep 17 00:00:00 2001 From: James Stembridge Date: Fri, 2 May 2003 01:07:15 +0000 Subject: only need to set this once CVS patchset: 4746 CVS date: 2003/05/02 01:07:15 --- src/video_out/video_out_vidix.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c index 4a9b39be6..4f4ce43ff 100644 --- a/src/video_out/video_out_vidix.c +++ b/src/video_out/video_out_vidix.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_vidix.c,v 1.41 2003/05/02 00:54:21 jstembridge Exp $ + * $Id: video_out_vidix.c,v 1.42 2003/05/02 01:07:15 jstembridge Exp $ * * video_out_vidix.c * @@ -322,8 +322,6 @@ static void vidix_clean_output_area(vidix_driver_t *this) { static void vidix_update_colourkey(vidix_driver_t *this) { - this->vidix_grkey.ckey.op = CKEY_TRUE; - switch(this->depth) { case 15: this->colourkey = ((this->vidix_grkey.ckey.red & 0xF8) << 7) | @@ -1094,6 +1092,7 @@ static vo_driver_t *vidix_open_plugin (video_driver_class_t *class_gen, const vo /* We'll assume all drivers support colour keying (which they do at the moment) */ this->capabilities |= VO_CAP_COLORKEY; + this->vidix_grkey.ckey.op = CKEY_TRUE; /* Colour key components */ this->vidix_grkey.ckey.red = config->register_range(config, -- cgit v1.2.3