This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] ivtv: set max/step to 0 for PTS and FRAME controls
Author:  Hans Verkuil <[email protected]>
Date:    Fri Apr 20 09:51:31 2012 -0300

When creating 64 bit integer controls make sure the max and step
values are 0 (as 64 bit controls do not have ranges).

Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/video/ivtv/ivtv-driver.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=37481fcacbae3de4972dae265dab7a58f2c9cf8b

diff --git a/drivers/media/video/ivtv/ivtv-driver.c 
b/drivers/media/video/ivtv/ivtv-driver.c
index 679262e..057929e 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -1201,9 +1201,9 @@ static int __devinit ivtv_probe(struct pci_dev *pdev,
                struct v4l2_ctrl_handler *hdl = itv->v4l2_dev.ctrl_handler;
 
                itv->ctrl_pts = v4l2_ctrl_new_std(hdl, &ivtv_hdl_out_ops,
-                               V4L2_CID_MPEG_VIDEO_DEC_PTS, 0, 0, 1, 0);
+                               V4L2_CID_MPEG_VIDEO_DEC_PTS, 0, 0, 0, 0);
                itv->ctrl_frame = v4l2_ctrl_new_std(hdl, &ivtv_hdl_out_ops,
-                               V4L2_CID_MPEG_VIDEO_DEC_FRAME, 0, 0x7fffffff, 
1, 0);
+                               V4L2_CID_MPEG_VIDEO_DEC_FRAME, 0, 0, 0, 0);
                /* Note: V4L2_MPEG_AUDIO_DEC_PLAYBACK_AUTO is not supported,
                   mask that menu item. */
                itv->ctrl_audio_playback =

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to