summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-02-27 22:17:40 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2007-02-27 22:17:40 +0100
commit26838e3bee19eff7cc46636a7ca019bf93cbee1d (patch)
tree5654b4a3b1cadad907c566fde1014b2fa49667c4 /linux/drivers/media/video/ivtv/ivtv-driver.c
parentd1ccbc995d592b004e40362927e602d14ca00a1c (diff)
downloadmediapointer-dvb-s2-26838e3bee19eff7cc46636a7ca019bf93cbee1d.tar.gz
mediapointer-dvb-s2-26838e3bee19eff7cc46636a7ca019bf93cbee1d.tar.bz2
Set initial global_alpha to 255 (opaque).
From: Hans Verkuil <hverkuil@xs4all.nl> An opaque rather than transparent OSD lets it be used as a framebuffer. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-driver.c1
1 files changed, 1 insertions, 0 deletions
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);