mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
speexdec: initialize stereo decoding state
This commit is contained in:
parent
f0d6b841a2
commit
c2eedfcceb
1 changed files with 1 additions and 0 deletions
|
@ -537,6 +537,7 @@ speex_dec_chain_parse_header (GstSpeexDec * dec, GstBuffer * buf)
|
|||
dec->callback.callback_id = SPEEX_INBAND_STEREO;
|
||||
dec->callback.func = speex_std_stereo_request_handler;
|
||||
dec->callback.data = &dec->stereo;
|
||||
dec->stereo = (SpeexStereoState) SPEEX_STEREO_STATE_INIT;
|
||||
speex_decoder_ctl (dec->state, SPEEX_SET_HANDLER, &dec->callback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue