commit | 5c3112b5beb1005609bf91749c528d32ad7b47f8 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon Mar 10 10:58:29 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Mar 11 10:34:56 2014 -0300 |
tree | d5e9ce94878ab3fd4f6e25cd110754572fcad42d | |
parent | ca5f5fdb298a838958367b6fd769a3d084c67183 [diff] |
[media] mem2mem_testdev: improve field handling try_fmt should just set field to NONE and not return an error if a different field was passed. buf_prepare should check if the field passed in from userspace has a supported field value. At the moment only NONE is supported and ANY is mapped to NONE. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>