Re: [PATCH] V4L: fix ENUMSTD ioctl to report all supported standards

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

 



On Fri, 26 Mar 2010, Hans Verkuil wrote:

> On Friday 26 March 2010 08:06:42 Guennadi Liakhovetski wrote:
> > V4L2_STD_PAL, V4L2_STD_SECAM, and V4L2_STD_NTSC are not the only composite 
> > standards. Currently, e.g., if a driver supports all of V4L2_STD_PAL_B, 
> > V4L2_STD_PAL_B1 and V4L2_STD_PAL_G, the enumeration will report 
> > V4L2_STD_PAL_BG and not the single standards, which can confuse 
> > applications. Fix this by only clearing simple standards from the mask. 
> > This, of course, will only work, if composite standards are listed before 
> > simple ones in the standards array in v4l2-ioctl.c, which is currently 
> > the case.
> 
> Do you have an specific example where the current implementation will do the
> wrong thing?

Yes - sh_vou with gstreamer. gstreamer enumerates standards and gest 
PAL_BG but not PAL_B or PAL_G.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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