diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-05-02 01:07:15 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-05-02 01:07:15 +0000 |
commit | 70e3b2c347fb7371b4780e315d34ec309efa641c (patch) | |
tree | 0d55e6c5d51e61d9ff7b53b621d61593d038fac3 | |
parent | 7dbc08aef2dafd93b18771d323b2b34441163a32 (diff) | |
download | xine-lib-70e3b2c347fb7371b4780e315d34ec309efa641c.tar.gz xine-lib-70e3b2c347fb7371b4780e315d34ec309efa641c.tar.bz2 |
only need to set this once
CVS patchset: 4746
CVS date: 2003/05/02 01:07:15
-rw-r--r-- | src/video_out/video_out_vidix.c | 5 |
1 files changed, 2 insertions, 3 deletions
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, |