diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-03-10 21:59:15 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-03-10 21:59:15 +0100 |
commit | 53ebbef0d42f0900ccabaa27095f0d0e9db36794 (patch) | |
tree | 74d8f44b60370840e1dc4fce11477f1ca1b824ef /linux/drivers/media/video/ivtv/ivtv-fileops.c | |
parent | 922210910e553b2b9e9495b17304a39bd3d3fe4a (diff) | |
download | mediapointer-dvb-s2-53ebbef0d42f0900ccabaa27095f0d0e9db36794.tar.gz mediapointer-dvb-s2-53ebbef0d42f0900ccabaa27095f0d0e9db36794.tar.bz2 |
Add VIDIOC_G/S_PRIORITY support to ivtv.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-fileops.c')
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-fileops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-fileops.c b/linux/drivers/media/video/ivtv/ivtv-fileops.c index 2f38bb14a..1637097dd 100644 --- a/linux/drivers/media/video/ivtv/ivtv-fileops.c +++ b/linux/drivers/media/video/ivtv/ivtv-fileops.c @@ -766,6 +766,8 @@ int ivtv_v4l2_close(struct inode *inode, struct file *filp) IVTV_DEBUG_IOCTL("close() of %s\n", s->name); + v4l2_prio_close(&itv->prio, &id->prio); + /* Easy case first: this stream was never claimed by us */ if (s->id != id->open_id) { kfree(id); @@ -849,6 +851,7 @@ int ivtv_v4l2_open(struct inode *inode, struct file *filp) } item->itv = itv; item->type = y; + v4l2_prio_open(&itv->prio, &item->prio); item->open_id = itv->open_id++; filp->private_data = item; |