commit | 7bb6edd37fc2e56297231cc854d7a17e336590db | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Apr 11 04:40:03 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Wed Apr 16 18:51:58 2014 -0300 |
tree | 7541ba7ac769c20f05a650d63a69908a22175008 | |
parent | 74753cffa6fae399aef0f0a1a3315196e6e339cf [diff] |
[media] vb2: allow read/write as long as the format is single planar It was impossible to read() or write() a frame if the queue type was multiplanar. Even if the current format is single planar. Change this to just check whether the number of planes is 1 or more. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>