mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
opusdec: fix decoding
A simple ... opusenc ! opusdec ... pipeline now works. https://bugzilla.gnome.org/show_bug.cgi?id=660364
This commit is contained in:
parent
f70c921ff9
commit
ab1d420f88
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buf,
|
||||||
|
|
||||||
GST_LOG_OBJECT (dec, "decoding frame");
|
GST_LOG_OBJECT (dec, "decoding frame");
|
||||||
|
|
||||||
n = opus_decode (dec->state, data, size, out_data, dec->frame_samples, TRUE);
|
n = opus_decode (dec->state, data, size, out_data, dec->frame_samples, 0);
|
||||||
if (n < 0) {
|
if (n < 0) {
|
||||||
GST_ELEMENT_ERROR (dec, STREAM, DECODE, ("Decoding error: %d", n), (NULL));
|
GST_ELEMENT_ERROR (dec, STREAM, DECODE, ("Decoding error: %d", n), (NULL));
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
|
|
Loading…
Reference in a new issue