summaryrefslogtreecommitdiff
path: root/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-11-15 09:10:51 +0100
committerLiang Qi <liang.qi@qt.io>2017-11-15 09:10:51 +0100
commit2e1c8dc10549da91cae75dddc3801fc8ed85fbcb (patch)
tree2b709c7cbd6942dd3aadf7228a7338eb8b95549b /src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
parente3cf8e4da46302039d5c5eabb7baa2ffcfe3374d (diff)
parentcf4cc30da4566c1b8a86ee5688383f90eaf0e967 (diff)
downloadqtmultimedia-2e1c8dc10549da91cae75dddc3801fc8ed85fbcb.tar.gz
Merge remote-tracking branch 'origin/5.9' into 5.10
Change-Id: I0e525d0cc7f4e4b776e5a536e2bf9b2c66be5429
Diffstat (limited to 'src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp')
-rw-r--r--src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
index 779978e70..d6b8ad759 100644
--- a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
+++ b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
@@ -478,6 +478,7 @@ QAudioBuffer QGstreamerAudioDecoderSession::read()
}
}
#if GST_CHECK_VERSION(1,0,0)
+ gst_buffer_unmap(buffer, &mapInfo);
gst_sample_unref(sample);
#else
gst_buffer_unref(buffer);