diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-31 12:15:56 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-31 12:15:56 +0200 |
commit | 51e147398c60e35bae3f94c5f5073dc8db05864a (patch) | |
tree | 4e23b0d6ee0691a0422371b59aea8de0d5b15579 /linux/drivers/media/video/ivtv/ivtv-ioctl.c | |
parent | 8afe09419eed997a4b30a77df5a22c19912b8bc9 (diff) | |
download | mediapointer-dvb-s2-51e147398c60e35bae3f94c5f5073dc8db05864a.tar.gz mediapointer-dvb-s2-51e147398c60e35bae3f94c5f5073dc8db05864a.tar.bz2 |
ivtv: fix VIDIOC_S_FBUF support: new OSD values where never actually set.
From: Hans Verkuil <hverkuil@xs4all.nl>
The values set with VIDIOC_S_FBUF were not actually used until the next
VIDIOC_S_FMT. Fixed.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-ioctl.c b/linux/drivers/media/video/ivtv/ivtv-ioctl.c index e3a05f8fd..7544ecf85 100644 --- a/linux/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/linux/drivers/media/video/ivtv/ivtv-ioctl.c @@ -1202,6 +1202,7 @@ int ivtv_v4l2_ioctls(struct ivtv *itv, struct file *filp, unsigned int cmd, void itv->osd_global_alpha_state = (fb->flags & V4L2_FBUF_FLAG_GLOBAL_ALPHA) != 0; itv->osd_local_alpha_state = (fb->flags & V4L2_FBUF_FLAG_LOCAL_ALPHA) != 0; itv->osd_color_key_state = (fb->flags & V4L2_FBUF_FLAG_CHROMAKEY) != 0; + ivtv_set_osd_alpha(itv); break; } |