diracenc: fix buffer leak

This commit is contained in:
Vincent Penquerc'h 2012-06-07 12:25:03 +01:00
parent 9f952567ae
commit 4b0b20189f

View file

@ -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: