mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Changed obsolete macro VIDEO_WINDOW_CHROMAKEY to VID_TYPE_CHROMAKEY
This commit is contained in:
parent
c9796296cd
commit
68e3afeb66
2
HISTORY
2
HISTORY
@ -747,3 +747,5 @@ Video Disk Recorder Revision History
|
|||||||
OSD is used (thanks to Andreas Vitting).
|
OSD is used (thanks to Andreas Vitting).
|
||||||
- Switched to the driver's new tuning API (VDR now requires a driver version
|
- Switched to the driver's new tuning API (VDR now requires a driver version
|
||||||
dated 2001-09-14 or higher).
|
dated 2001-09-14 or higher).
|
||||||
|
- Changed obsolete macro VIDEO_WINDOW_CHROMAKEY to VID_TYPE_CHROMAKEY (thanks
|
||||||
|
to Guido Fiala).
|
||||||
|
7
dvbapi.c
7
dvbapi.c
@ -7,7 +7,7 @@
|
|||||||
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
|
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
|
||||||
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
|
* 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
|
//#define DVDDEBUG 1
|
||||||
@ -2824,7 +2824,10 @@ bool cDvbApi::OvlG(int SizeX, int SizeY, int PosX, int PosY)
|
|||||||
vw.width = SizeX;
|
vw.width = SizeX;
|
||||||
vw.height = SizeY;
|
vw.height = SizeY;
|
||||||
vw.chromakey = ovlPalette;
|
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.clips = ovlClipRects;
|
||||||
vw.clipcount = ovlClipCount;
|
vw.clipcount = ovlClipCount;
|
||||||
result |= ioctl(videoDev, VIDIOCSWIN, &vw);
|
result |= ioctl(videoDev, VIDIOCSWIN, &vw);
|
||||||
|
Loading…
Reference in New Issue
Block a user