diff options
author | John Sheu <sheu@chromium.org> | 2013-02-07 00:03:01 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-19 19:13:33 +0100 |
commit | 401f6a2729988c7229c3a78bba0d2f73851e3f51 (patch) | |
tree | 03f0331a3557b262fd508a769cf48673c3f39e1c /Documentation/video4linux | |
parent | [media] v4l2-mem2mem: use CAPTURE queue lock (diff) | |
download | linux-401f6a2729988c7229c3a78bba0d2f73851e3f51.tar.xz linux-401f6a2729988c7229c3a78bba0d2f73851e3f51.zip |
[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>
Diffstat (limited to 'Documentation/video4linux')
0 files changed, 0 insertions, 0 deletions