uvcv4l2_mjpegdemux: Unmap buffer
authorRobert Krakora <rob.krakora@messagenetsystems.com>
Fri, 26 Jul 2013 18:33:00 +0000 (18:33 +0000)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Sun, 28 Jul 2013 15:25:27 +0000 (17:25 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=699517

sys/uvch264/gstuvch264_mjpgdemux.c

index dfb0775..cb2ea2b 100644 (file)
@@ -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);