Skip to content
Commit 6ab95393 authored by John Cox's avatar John Cox Committed by Phil Elwell
Browse files

media: rpivid: Ensure IRQs have completed before uniniting context



Before uniniting the decode context sync with the IRQ queues to ensure
that decode no longer has any buffers in use.  This fixes a problem that
manifested as ffmpeg leaking CMA buffers when it did a stream off on
OUTPUT before CAPTURE, though in reality it was probably much more
dangerous than that.

Signed-off-by: default avatarJohn Cox <jc@kynesim.co.uk>
parent 562ee106
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment