It is required to flush the filter properly for stopping of playback to work reliably. Without flushing the code might detect pictures currently held in the filter as lost which will lead to double frees later on.
dbef00f mmal/deinterlace: Implement filter flush
modules/hw/mmal/deinterlace.c | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Upstream: git.videolan.org