Print more detailed v4l parse error messages
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 26 Sep 2013 19:57:44 +0000 (21:57 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 26 Sep 2013 21:49:27 +0000 (23:49 +0200)
commitc4df9505cb1a6af6c1e7b12246b3d02f9e64597d
tree869f41a59ab7dc8054a8a887ddd52f673688e0c3
parent8762373646cfea5549dc80b36b79e0b8a2e43207
Print more detailed v4l parse error messages

The following errors usually resulted in the same 'Unable to parse
format' message:

- syntax error in format description
- the requested pixel code isn't supported

Add more detailed error messages to give the user a clue what is going
wrong.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
src/main.c
src/v4l2subdev.c