diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-06-22 14:03:28 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-06-22 14:03:28 +0200 |
commit | 58699616d9a85b5cccbdd1587cdfc39ba84af902 (patch) | |
tree | 8cf997918abe2ccb2c520696a025ae56d70641fa /linux/drivers/media/video/cx18 | |
parent | 92283451cab7a6739b867c55024aa6c38e0342dc (diff) | |
download | mediapointer-dvb-s2-58699616d9a85b5cccbdd1587cdfc39ba84af902.tar.gz mediapointer-dvb-s2-58699616d9a85b5cccbdd1587cdfc39ba84af902.tar.bz2 |
cx2341x: add TS capability
From: Hans Verkuil <hverkuil@xs4all.nl>
The cx18 can support transport streams with newer firmwares. Add a TS
capability to the generic cx2341x module.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-controls.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-controls.c b/linux/drivers/media/video/cx18/cx18-controls.c index 01ba9ca37..855313359 100644 --- a/linux/drivers/media/video/cx18/cx18-controls.c +++ b/linux/drivers/media/video/cx18/cx18-controls.c @@ -92,11 +92,13 @@ int cx18_queryctrl(struct file *file, void *fh, struct v4l2_queryctrl *qctrl) int cx18_querymenu(struct file *file, void *fh, struct v4l2_querymenu *qmenu) { + struct cx18 *cx = ((struct cx18_open_id *)fh)->cx; struct v4l2_queryctrl qctrl; qctrl.id = qmenu->id; cx18_queryctrl(file, fh, &qctrl); - return v4l2_ctrl_query_menu(qmenu, &qctrl, cx2341x_ctrl_get_menu(qmenu->id)); + return v4l2_ctrl_query_menu(qmenu, &qctrl, + cx2341x_ctrl_get_menu(&cx->params, qmenu->id)); } int cx18_s_ctrl(struct file *file, void *fh, struct v4l2_control *vctrl) |