Re: Question about drivers/media/usb/uvc/uvc_v4l2.c

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

 



Hi Shaobo,

On Sat, Mar 02, 2019 at 01:22:49PM -0700, Shaobo He wrote:
> Hello everyone,
> 
> This is Shaobo from Utah again. I've been bugging the mailing list with my 
> patches. I have a quick question about a function in 
> `drivers/media/usb/uvc/uvc_v4l2.c`. In `uvc_v4l2_try_format`, can 
> `stream->nformats` be 0? I saw that in other files, this field could be zero 
> which is considered as error cases. I was wondering if it's true for this 
> function, too.

The uvc_parse_streaming() function should answer this question :-)

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux