commit | 401f6a2729988c7229c3a78bba0d2f73851e3f51 | [log] [tgz] |
---|---|---|
author | John Sheu <sheu@chromium.org> | Wed Feb 06 20:03:01 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Mar 19 15:13:33 2013 -0300 |
tree | 03f0331a3557b262fd508a769cf48673c3f39e1c | |
parent | f1a0569be680a1bfb9d624cc4893cba0c6ad4172 [diff] |
[media] v4l2-mem2mem: drop rdy_queue on STREAMOFF 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-off-by: John Sheu <sheu@google.com> Acked-by: Pawel Osciak <pawel@osciak.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>