From 26838e3bee19eff7cc46636a7ca019bf93cbee1d Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Tue, 27 Feb 2007 22:17:40 +0100 Subject: Set initial global_alpha to 255 (opaque). From: Hans Verkuil An opaque rather than transparent OSD lets it be used as a framebuffer. Signed-off-by: Hans Verkuil --- linux/drivers/media/video/ivtv/ivtv-driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/drivers/media/video/ivtv/ivtv-driver.c b/linux/drivers/media/video/ivtv/ivtv-driver.c index dad36fb9c..83102b4f5 100644 --- a/linux/drivers/media/video/ivtv/ivtv-driver.c +++ b/linux/drivers/media/video/ivtv/ivtv-driver.c @@ -677,6 +677,7 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv) /* OSD */ itv->osd_global_alpha_state = 1; + itv->osd_global_alpha = 255; /* YUV */ atomic_set(&itv->yuv_info.next_dma_frame, -1); -- cgit v1.2.3