mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
wavpackenc: don't unref buffer with gst_object_unref()
This commit is contained in:
parent
6de67bb014
commit
e9ad06e202
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ gst_wavpack_enc_sink_event (GstPad * pad, GstEvent * event)
|
|||
/* Drop all remaining data, this is no complete block otherwise
|
||||
* it would've been pushed already */
|
||||
if (enc->pending_buffer) {
|
||||
gst_object_unref (enc->pending_buffer);
|
||||
gst_buffer_unref (enc->pending_buffer);
|
||||
enc->pending_buffer = NULL;
|
||||
enc->pending_offset = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue