Re: [PATCH RFC v3 10/16] media: rename link source/sink to pad0_source/pad1_sink

2015-08-13 Thread Hans Verkuil
On 08/12/15 22:14, Mauro Carvalho Chehab wrote: > Change the internal namespace for links between two pads to > have the "pad" there. > > We're also numbering it, as a common constructor is to do > things like: > > if (link->port1.type != MEDIA_GRAPH_PAD) > continue; > i

[PATCH RFC v3 10/16] media: rename link source/sink to pad0_source/pad1_sink

2015-08-12 Thread Mauro Carvalho Chehab
Change the internal namespace for links between two pads to have the "pad" there. We're also numbering it, as a common constructor is to do things like: if (link->port1.type != MEDIA_GRAPH_PAD) continue; if (link->pad1_sink->entity == entity) /* do