diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-15 14:19:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-15 14:19:31 +0200 |
commit | 68e3afeb66418e5951ce8ee4c777418bf41e4890 (patch) | |
tree | 13f4ad59d952231b31b6990cdecbf07412a22ebf /dvbapi.c | |
parent | c9796296cd7fb62d51b435f4996fbd9f2603c65e (diff) | |
download | vdr-68e3afeb66418e5951ce8ee4c777418bf41e4890.tar.gz vdr-68e3afeb66418e5951ce8ee4c777418bf41e4890.tar.bz2 |
Changed obsolete macro VIDEO_WINDOW_CHROMAKEY to VID_TYPE_CHROMAKEY
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -7,7 +7,7 @@ * DVD support initially written by Andreas Schultz <aschultz@warp10.net> * based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si> * - * $Id: dvbapi.c 1.120 2001/09/15 13:51:27 kls Exp $ + * $Id: dvbapi.c 1.121 2001/09/15 14:15:21 kls Exp $ */ //#define DVDDEBUG 1 @@ -2824,7 +2824,10 @@ bool cDvbApi::OvlG(int SizeX, int SizeY, int PosX, int PosY) vw.width = SizeX; vw.height = SizeY; vw.chromakey = ovlPalette; - vw.flags = VIDEO_WINDOW_CHROMAKEY; // VIDEO_WINDOW_INTERLACE; //VIDEO_CLIP_BITMAP; +#ifndef VID_TYPE_CHROMAKEY // name changed somewhere down the road in kernel 2.4.x +#define VID_TYPE_CHROMAKEY VIDEO_WINDOW_CHROMAKEY +#endif + vw.flags = VID_TYPE_CHROMAKEY; // VIDEO_WINDOW_INTERLACE; //VIDEO_CLIP_BITMAP; vw.clips = ovlClipRects; vw.clipcount = ovlClipCount; result |= ioctl(videoDev, VIDIOCSWIN, &vw); |