diff options
Diffstat (limited to 'drivers/media/pci/cx88/cx88-blackbird.c')
-rw-r--r-- | drivers/media/pci/cx88/cx88-blackbird.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/pci/cx88/cx88-blackbird.c b/drivers/media/pci/cx88/cx88-blackbird.c index def363fb71c0..62184eb919e5 100644 --- a/drivers/media/pci/cx88/cx88-blackbird.c +++ b/drivers/media/pci/cx88/cx88-blackbird.c | |||
@@ -721,7 +721,7 @@ static int vidioc_g_fmt_vid_cap (struct file *file, void *priv, | |||
721 | 721 | ||
722 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; | 722 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
723 | f->fmt.pix.bytesperline = 0; | 723 | f->fmt.pix.bytesperline = 0; |
724 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */; | 724 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */ |
725 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; | 725 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; |
726 | f->fmt.pix.width = dev->width; | 726 | f->fmt.pix.width = dev->width; |
727 | f->fmt.pix.height = dev->height; | 727 | f->fmt.pix.height = dev->height; |
@@ -739,7 +739,7 @@ static int vidioc_try_fmt_vid_cap (struct file *file, void *priv, | |||
739 | 739 | ||
740 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; | 740 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
741 | f->fmt.pix.bytesperline = 0; | 741 | f->fmt.pix.bytesperline = 0; |
742 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */; | 742 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */ |
743 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; | 743 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; |
744 | dprintk(1, "VIDIOC_TRY_FMT: w: %d, h: %d, f: %d\n", | 744 | dprintk(1, "VIDIOC_TRY_FMT: w: %d, h: %d, f: %d\n", |
745 | dev->width, dev->height, fh->mpegq.field ); | 745 | dev->width, dev->height, fh->mpegq.field ); |
@@ -755,7 +755,7 @@ static int vidioc_s_fmt_vid_cap (struct file *file, void *priv, | |||
755 | 755 | ||
756 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; | 756 | f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; |
757 | f->fmt.pix.bytesperline = 0; | 757 | f->fmt.pix.bytesperline = 0; |
758 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */; | 758 | f->fmt.pix.sizeimage = 188 * 4 * mpegbufs; /* 188 * 4 * 1024; */ |
759 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; | 759 | f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; |
760 | dev->width = f->fmt.pix.width; | 760 | dev->width = f->fmt.pix.width; |
761 | dev->height = f->fmt.pix.height; | 761 | dev->height = f->fmt.pix.height; |