mmal/deinterlace: Do not filter the same picture twice
If the same picture, containing the same buffer header without being re-acquired in the meantime, is sent to image_fx twice it will portentially cause a double free within the mmal core as it destroys the internal refcounting. Use the same guarding mechanism which is already in place in mmal/vout to ensure this is not happening at any point. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment