summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2010-05-21Don't set formats on remote pads if the remote entity is not a subdevLaurent Pinchart
When setting format on an output pad, the same format is automatically set on the remote pads, if any. As the format setting API is subdev-specific, skip remote pads that belong to a non-subdev entity. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-05-19Zero structures before filling themLaurent Pinchart
The parse_format function fills a v4l2_mbus_framefmt structure but doesn't zero it beforehand. This results in some fields being uninitialized. Fix this. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2010-05-19Initial importLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>