qv4l2: improve pixel aspect detection
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Jul 2014 18:59:27 +0000 (20:59 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Jul 2014 18:59:27 +0000 (20:59 +0200)
commit7488f60962ac9b14413650f6194a3ab4a8a1b972
tree0eae9d21168f7788ec61c039b50cdafd78d32d14
parentf19404759ad681ffdf0e5342059deef59f291f2e
qv4l2: improve pixel aspect detection

If CROPCAP is not supported, then try g_std. If that's not supported,
then try g_dv_timings. If all else failed, then just return a square
pixel aspect ratio.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/general-tab.cpp
utils/qv4l2/v4l2-api.cpp