diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-08-06 11:31:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-11 15:03:36 -0400 |
commit | 8b34000377320115cfb4bbb4a874a9f958bd738a (patch) | |
tree | c3f6c02909db3e9a0e62fc9affff644e539fd8d0 | |
parent | c51364cafa26dca2022f9b31da1c41e27c306c47 (diff) |
[media] omap3isp: Mark the resizer output video node as the default video node
The resizer can output YUYV and UYVY in a wide range of sizes, making it
the best video node for regular V4L2 applications.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/omap3isp/ispresizer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/omap3isp/ispresizer.c b/drivers/media/video/omap3isp/ispresizer.c index ae17d917f77b..a9bfd0afb515 100644 --- a/drivers/media/video/omap3isp/ispresizer.c +++ b/drivers/media/video/omap3isp/ispresizer.c | |||
@@ -1730,6 +1730,8 @@ static int resizer_init_entities(struct isp_res_device *res) | |||
1730 | if (ret < 0) | 1730 | if (ret < 0) |
1731 | goto error_video_out; | 1731 | goto error_video_out; |
1732 | 1732 | ||
1733 | res->video_out.video.entity.flags |= MEDIA_ENT_FL_DEFAULT; | ||
1734 | |||
1733 | /* Connect the video nodes to the resizer subdev. */ | 1735 | /* Connect the video nodes to the resizer subdev. */ |
1734 | ret = media_entity_create_link(&res->video_in.video.entity, 0, | 1736 | ret = media_entity_create_link(&res->video_in.video.entity, 0, |
1735 | &res->subdev.entity, RESZ_PAD_SINK, 0); | 1737 | &res->subdev.entity, RESZ_PAD_SINK, 0); |