diff options
-rw-r--r-- | sys/uvch264/gstuvch264_mjpgdemux.c | 2 |
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); |