mmal/deinterlace: Free unusable buffers
commitb2cf46dd2242bea3388fcd016f49c368a28208f6
authorJulian Scheel <julian@jusst.de>
Wed, 3 Jun 2015 07:50:37 +0000 (3 09:50 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 5 Jun 2015 13:35:03 +0000 (5 15:35 +0200)
tree844e189c2f8ee470bea6b818e00ac4cc16918a9c
parentc92f24312c5674c9a32185da417ae5bdbf426276
mmal/deinterlace: Free unusable buffers

If the input port returns a buffer which has no picture attached to it it
would be leaked. While this in fact should not happen it seems sane to at
least release the buffer and spit a warning in case it does happen.

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