video: driver: update device capabilities
add V4L2_CAP_VIDEO_M2M_MPLANE capability since driver supports both input and output ports. Change-Id: Ie43b21bbaa2fe995a946e4dbc7b6f03ece4dae23 Signed-off-by: Darshana Patil <quic_darshana@quicinc.com>
This commit is contained in:
@@ -180,10 +180,8 @@ static int msm_vidc_register_video_device(struct msm_vidc_core *core,
|
||||
core->vdev[index].type = type;
|
||||
core->vdev[index].vdev.v4l2_dev = &core->v4l2_dev;
|
||||
core->vdev[index].vdev.device_caps =
|
||||
V4L2_CAP_VIDEO_CAPTURE_MPLANE |
|
||||
V4L2_CAP_VIDEO_OUTPUT_MPLANE |
|
||||
V4L2_CAP_VIDEO_M2M_MPLANE |
|
||||
V4L2_CAP_META_CAPTURE |
|
||||
V4L2_CAP_META_OUTPUT |
|
||||
V4L2_CAP_STREAMING;
|
||||
rc = video_register_device(&core->vdev[index].vdev,
|
||||
VFL_TYPE_VIDEO, nr);
|
||||
|
Reference in New Issue
Block a user