mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
gsm: unmap output buffer when done
https://bugzilla.gnome.org/show_bug.cgi?id=784887
This commit is contained in:
parent
9da1328283
commit
c431fcda78
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ gst_gsmenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buffer)
|
|||
|
||||
GST_LOG_OBJECT (gsmenc, "encoded to %d bytes", (gint) omap.size);
|
||||
gst_buffer_unmap (buffer, &map);
|
||||
gst_buffer_unmap (buffer, &omap);
|
||||
gst_buffer_unmap (outbuf, &omap);
|
||||
|
||||
ret = gst_audio_encoder_finish_frame (benc, outbuf, 160);
|
||||
|
||||
|
|
Loading…
Reference in a new issue