diff options
Diffstat (limited to 'ext/sbc/gstsbcenc.c')
-rw-r--r-- | ext/sbc/gstsbcenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sbc/gstsbcenc.c b/ext/sbc/gstsbcenc.c index 2558fd1d0..45bc7213d 100644 --- a/ext/sbc/gstsbcenc.c +++ b/ext/sbc/gstsbcenc.c @@ -218,6 +218,8 @@ gst_sbc_enc_fill_sbc_params (GstSbcEnc * enc, GstCaps * caps) if (!(allocation = gst_structure_get_string (structure, "allocation"))) return FALSE; + sbc_finish (&enc->sbc); + sbc_init (&enc->sbc, 0); enc->sbc.rate = rate; enc->sbc.channels = channels; enc->blocks = blocks; |