uvcv4l2_mjpegdemux: Unmap buffer

https://bugzilla.gnome.org/show_bug.cgi?id=699517
This commit is contained in:
Robert Krakora 2013-07-26 18:33:00 +00:00 committed by Olivier Crête
parent 5101b63959
commit bd386a2785

View 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);