From bd386a2785aa31d64441bb89e0d136765ed5c3bc Mon Sep 17 00:00:00 2001 From: Robert Krakora Date: Fri, 26 Jul 2013 18:33:00 +0000 Subject: [PATCH] uvcv4l2_mjpegdemux: Unmap buffer https://bugzilla.gnome.org/show_bug.cgi?id=699517 --- sys/uvch264/gstuvch264_mjpgdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/uvch264/gstuvch264_mjpgdemux.c b/sys/uvch264/gstuvch264_mjpgdemux.c index dfb07758d1..cb2ea2be11 100644 --- a/sys/uvch264/gstuvch264_mjpgdemux.c +++ b/sys/uvch264/gstuvch264_mjpgdemux.c @@ -711,6 +711,8 @@ done: if (jpeg_buf) gst_buffer_unref (jpeg_buf); + gst_buffer_unmap (buf, &info); + /* We must always unref the input buffer since we never push it out */ gst_buffer_unref (buf);