summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/v4l2-ioctl.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-12 02:03:02 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-12 02:03:02 -0200
commita3c3f7456fd59e54b7c0333ca9bb32b8be70044e (patch)
tree3019d8b54d6f629f71033f4af2f58cb22d61f852 /linux/drivers/media/video/v4l2-ioctl.c
parent3fd0630b68e2110e8c61c0915242ba20231d4641 (diff)
downloadmediapointer-dvb-s2-a3c3f7456fd59e54b7c0333ca9bb32b8be70044e.tar.gz
mediapointer-dvb-s2-a3c3f7456fd59e54b7c0333ca9bb32b8be70044e.tar.bz2
v4l core: fix debug printk for enumberating framerates
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/v4l2-ioctl.c')
-rw-r--r--linux/drivers/media/video/v4l2-ioctl.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/linux/drivers/media/video/v4l2-ioctl.c b/linux/drivers/media/video/v4l2-ioctl.c
index bc4128d60..86dd04026 100644
--- a/linux/drivers/media/video/v4l2-ioctl.c
+++ b/linux/drivers/media/video/v4l2-ioctl.c
@@ -1817,9 +1817,13 @@ static int __video_do_ioctl(struct file *file,
p->discrete.denominator);
break;
case V4L2_FRMIVAL_TYPE_STEPWISE:
- dbgarg2("min=%d, max=%d, step=%d\n",
- p->stepwise.min, p->stepwise.max,
- p->stepwise.step);
+ dbgarg2("min=%d/%d, max=%d/%d, step=%d/%d\n",
+ p->stepwise.min.numerator,
+ p->stepwise.min.denominator,
+ p->stepwise.max.numerator,
+ p->stepwise.max.denominator,
+ p->stepwise.step.numerator,
+ p->stepwise.step.denominator);
break;
case V4L2_FRMIVAL_TYPE_CONTINUOUS:
dbgarg2("continuous\n");