Re: [v4l-utils PATCH 2/2] mediactl: Separate entity and pad parsing

2016-05-24 Thread Sakari Ailus
Hi Laurent, On Tue, May 24, 2016 at 08:14:22PM +0300, Laurent Pinchart wrote: ... > > +struct media_pad *media_parse_pad(struct media_device *media, > > + const char *p, char **endp) > > +{ > > + unsigned int pad; > > + struct media_entity *entity; > > + char *end

Re: [v4l-utils PATCH 2/2] mediactl: Separate entity and pad parsing

2016-05-24 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Tuesday 24 May 2016 15:48:03 Sakari Ailus wrote: > Sometimes it's useful to be able to parse the entity independent of the pad. > Separate entity parsing into media_parse_entity(). > > Signed-off-by: Sakari Ailus > --- > utils/media-ctl/libmediactl.c | 28

[v4l-utils PATCH 2/2] mediactl: Separate entity and pad parsing

2016-05-24 Thread Sakari Ailus
Sometimes it's useful to be able to parse the entity independent of the pad. Separate entity parsing into media_parse_entity(). Signed-off-by: Sakari Ailus --- utils/media-ctl/libmediactl.c | 28 utils/media-ctl/mediactl.h| 14 ++ 2 files changed, 38