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

Richard Hosking richard at hovis.net
Sun Nov 18 18:44:05 CET 2007


oops, how embarrassing... wrong patch attached ;-)

proper one attached.

Richard Hosking wrote:
> 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
> or
>  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
> failing.
> 
> Also added better debug messages on reporting the supported
> chromas and some cosmetic tidy up on the code.
> 
> Richard.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2.c.diff
Type: text/x-patch
Size: 12698 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071118/62a46047/attachment.bin>


More information about the vlc-devel mailing list