Re: My first V4l app.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> My code is roughly:
> 
> v4l2_format retval
> retval.fmt.pix.sizeimage=0;
> retval.fmt.pix.bytesperline = 0;
> retval.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
> retval.fmt.pix.width = 640;
> retval.fmt.pix.height = 480;
> retval.fmt.pix.pixelformat = V4L2_PIX_FMT_RGB24;
> retval.fmt.pix.field = V4L2_FIELD_ANY;
> retval.fmt.pix.priv = 0;
> 
> Unfortunately, the ioctl fails with EINVAL

Which ioctl are we talking about?

How do you call ioctl?




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux