v4l2-ctl: add --clear-edid option.
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 14 Mar 2014 10:36:19 +0000 (11:36 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 14 Mar 2014 10:36:19 +0000 (11:36 +0100)
commit9591ffce227bde4e27ab666be8325281f290f99d
tree5bc08bc99349bdb98539dcffb86be51cb4accb4d
parent2ef2ac4d1704bc7920de80147aafe6fb74c20e91
v4l2-ctl: add --clear-edid option.

Also make sure the --set-edid doesn't accidentally clear the EDID if the
file contains no data.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-ctl/v4l2-ctl-edid.cpp
utils/v4l2-ctl/v4l2-ctl.cpp
utils/v4l2-ctl/v4l2-ctl.h