diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gstsbcenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/gstsbcenc.c b/audio/gstsbcenc.c index 1749460d..54bb7f8a 100644 --- a/audio/gstsbcenc.c +++ b/audio/gstsbcenc.c @@ -215,8 +215,7 @@ gboolean 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); + sbc_reinit(&enc->sbc, 0); enc->sbc.rate = rate; enc->sbc.channels = channels; enc->blocks = blocks; |