[vlc-devel] [PATCH] v4l2 fix for chroma override and improved debug

Richard Hosking richard at hovis.net
Sun Nov 18 18:42:25 CET 2007

Patch attached which should fix the behaviour when the
user specifies a chroma.

eg in my case:
  vlc -vvv v4l2:///dev/video0:adev=/dev/dsp1:chroma=YUYV
  vlc -vvv v4l2:// :v4l2-vdev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-chroma=YUYV

If the specified chroma is not supported it will still
revert to attempting to find a good default instead of

Also added better debug messages on reporting the supported
chromas and some cosmetic tidy up on the code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2.c.diff
Type: text/x-patch
Size: 334 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071118/6d2f7228/attachment.bin>

More information about the vlc-devel mailing list