mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
sbc: Add sbc_reinit.
This commit is contained in:
parent
946d564292
commit
2a21d83ce0
1 changed files with 1 additions and 2 deletions
|
@ -218,8 +218,7 @@ 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;
|
||||
|
|
Loading…
Reference in a new issue