mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
diracenc: fix buffer leak
This commit is contained in:
parent
9f952567ae
commit
4b0b20189f
1 changed files with 2 additions and 0 deletions
|
@ -1143,6 +1143,8 @@ gst_dirac_enc_process (GstDiracEnc * dirac_enc, gboolean end_sequence)
|
|||
GST_DEBUG ("pad_push returned %d", ret);
|
||||
return ret;
|
||||
}
|
||||
} else {
|
||||
gst_buffer_unref (outbuf);
|
||||
}
|
||||
break;
|
||||
case ENC_STATE_AVAIL:
|
||||
|
|
Loading…
Reference in a new issue