]> asedeno.scripts.mit.edu Git - linux.git/commit
media: Revert "media: cedrus: Allow using the current dst buffer as reference"
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 24 Jan 2019 12:49:45 +0000 (10:49 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 31 Jan 2019 11:28:19 +0000 (09:28 -0200)
commit826ef7508833f8bae928ccae4071b6efa6ba6184
treec1821a69aa859f797ede34af938068a044e9b4ba
parent03535e7a3a9937da99ee18304309e0574d2504fc
media: Revert "media: cedrus: Allow using the current dst buffer as reference"

This reverts commit cf20ae1535eb690a87c29b9cc7af51881384e967.

The vb2_find_timestamp helper was modified to allow finding buffers
regardless of their current state in the queue. This means that we
no longer have to take particular care of references to the current
capture buffer.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/sunxi/cedrus/cedrus_dec.c
drivers/staging/media/sunxi/cedrus/cedrus_dec.h
drivers/staging/media/sunxi/cedrus/cedrus_mpeg2.c