Re: [RFCv3 PATCH 11/18] v4l2-ctrls: add v4l2_fh pointer to the set control functions.

2011-06-28 Thread Mauro Carvalho Chehab
Em 28-06-2011 03:22, Hans Verkuil escreveu: > On Monday, June 27, 2011 23:20:07 Mauro Carvalho Chehab wrote: >> Em 07-06-2011 12:05, Hans Verkuil escreveu: >>> From: Hans Verkuil >>> >>> When an application changes a control you want to generate an event. >>> However, you want to avoid sending suc

Re: [RFCv3 PATCH 11/18] v4l2-ctrls: add v4l2_fh pointer to the set control functions.

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 23:20:07 Mauro Carvalho Chehab wrote: > Em 07-06-2011 12:05, Hans Verkuil escreveu: > > From: Hans Verkuil > > > > When an application changes a control you want to generate an event. > > However, you want to avoid sending such an event back to the application > > (file h

Re: [RFCv3 PATCH 11/18] v4l2-ctrls: add v4l2_fh pointer to the set control functions.

2011-06-27 Thread Mauro Carvalho Chehab
Em 07-06-2011 12:05, Hans Verkuil escreveu: > From: Hans Verkuil > > When an application changes a control you want to generate an event. > However, you want to avoid sending such an event back to the application > (file handle) that caused the change. Why? I can see two usecases for an event-

[RFCv3 PATCH 11/18] v4l2-ctrls: add v4l2_fh pointer to the set control functions.

2011-06-07 Thread Hans Verkuil
From: Hans Verkuil When an application changes a control you want to generate an event. However, you want to avoid sending such an event back to the application (file handle) that caused the change. Add the filehandle to the various set control functions. The filehandle isn't used yet, but the