|
|
|
Re: patch: s2255drv high quality mode and video status querying | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Tue, 7 Apr 2009, Dean A. wrote:
> +static int vidioc_g_parm(struct file *file, void *priv,
> + struct v4l2_streamparm *sp)
> +{
> + struct s2255_fh *fh = priv;
> + struct s2255_dev *dev = fh->dev;
> + if (sp->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
> + return -EINVAL;
You do not need to check the buffer type, video_ioctl2 does it already.
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
[Linux Media] [Older V4L] [Linux DVB] [Video Disk Recorder] [Linux Kernel] [Asterisk] [Photo] [DCCP] [Netdev] [Xorg] [Util Linux NG] [Xfree86] [Free Photo Albums] [Fedora Users] [Fedora Women] [ALSA Users] [ALSA Devel] [SSH] [DVB Maintainers] [Linux USB] [Yosemite Information]
![]() |
![]() |