summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Krakora <rob.krakora@messagenetsystems.com>2013-07-26 18:33:00 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-28 17:25:27 +0200
commitbd386a2785aa31d64441bb89e0d136765ed5c3bc (patch)
treee1957b6bb21b5bdc1b6bd49fd99f31556d74947f
parent5101b639592c3f3b031e94ffae108dd8edca5118 (diff)
downloadgstreamer-plugins-bad-bd386a2785aa31d64441bb89e0d136765ed5c3bc.tar.gz
uvcv4l2_mjpegdemux: Unmap buffer
https://bugzilla.gnome.org/show_bug.cgi?id=699517
-rw-r--r--sys/uvch264/gstuvch264_mjpgdemux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/uvch264/gstuvch264_mjpgdemux.c b/sys/uvch264/gstuvch264_mjpgdemux.c
index dfb07758d..cb2ea2be1 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);