mmal/deinterlace: Always flush mmal on flush
commit796a027b1be141f0f0ba65ef2d69c1caaebf8b9d
authorJulian Scheel <julian@jusst.de>
Thu, 19 Oct 2017 09:23:03 +0000 (19 11:23 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 19 Oct 2017 09:36:04 +0000 (19 11:36 +0200)
tree91fc4ffc7cc7f7b39768a492ce0ab9352a888186
parent173e44e8f2fc58fc3635b75190e501f49f0851ed
mmal/deinterlace: Always flush mmal on flush

Do not only flush if buffers are in transit, but whenever flush is
called. This is necessary because the deinterlace filter has an internal
state (reference pictures) which is reset on mmal_port_flush as well.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/hw/mmal/deinterlace.c