Re: [RFCv1 PATCH 4/8] v4l2-event: add optional 'merge' callback to merge two events

2011-06-20 Thread Hans Verkuil
On Monday, June 20, 2011 16:09:32 Laurent Pinchart wrote: > Hi Hans, > > Thanks for the patch. > > On Tuesday 14 June 2011 17:22:29 Hans Verkuil wrote: > > From: Hans Verkuil > > > > When the event queue for a subscribed event is full, then the oldest > > event is dropped. It would be nice if t

Re: [RFCv1 PATCH 4/8] v4l2-event: add optional 'merge' callback to merge two events

2011-06-20 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Tuesday 14 June 2011 17:22:29 Hans Verkuil wrote: > From: Hans Verkuil > > When the event queue for a subscribed event is full, then the oldest > event is dropped. It would be nice if the contents of that oldest > event could be merged with the next-oldest. Tha

[RFCv1 PATCH 4/8] v4l2-event: add optional 'merge' callback to merge two events

2011-06-14 Thread Hans Verkuil
From: Hans Verkuil When the event queue for a subscribed event is full, then the oldest event is dropped. It would be nice if the contents of that oldest event could be merged with the next-oldest. That way no information is lost, only intermediate steps are lost. This patch adds an optional mer