qv4l2: add check if the shader function is available.
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 26 Feb 2014 19:41:57 +0000 (20:41 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Feb 2014 13:43:17 +0000 (14:43 +0100)
commitce644f4c05fb6e8e2cfa88b29a2c6a9a49e6e723
tree9321340c8b728aca54c3065382761b99ca17e84e
parent392f23261351d128b68ccda8055732092e3d2571
qv4l2: add check if the shader function is available.

Skip formats that need a shader if there isn't any. Particularly useful
when running qv4l2 over ssh.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/capture-win-gl.cpp