Re: [PATCH 2/3] [media]: v4l2-mem2mem: drop rdy_queue on STREAMOFF

2013-02-28 Thread Pawel Osciak
On Wed, Feb 6, 2013 at 4:03 PM, John Sheu wrote: > From: John Sheu > > When a v4l2-mem2mem context gets a STREAMOFF call on either its CAPTURE > or OUTPUT queues, we should: > * Drop the corresponding rdy_queue, since a subsequent STREAMON expects > an empty queue. > * Deschedule the context, a

[PATCH 2/3] [media]: v4l2-mem2mem: drop rdy_queue on STREAMOFF

2013-02-06 Thread John Sheu
From: John Sheu When a v4l2-mem2mem context gets a STREAMOFF call on either its CAPTURE or OUTPUT queues, we should: * Drop the corresponding rdy_queue, since a subsequent STREAMON expects an empty queue. * Deschedule the context, as it now has at least one empty queue and cannot run. Signed