[0.11] gst-plugins-bad: opusdec: fix decoding
Wim Taymans
wtay at kemper.freedesktop.org
Tue Oct 4 04:29:36 PDT 2011
Module: gst-plugins-bad
Branch: 0.11
Commit: 9f9d52c6cb863e9e1339f795b63d57c9f28b1057
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=9f9d52c6cb863e9e1339f795b63d57c9f28b1057
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date: Wed Sep 28 14:57:02 2011 +0100
opusdec: fix decoding
A simple ... opusenc ! opusdec ... pipeline now works.
https://bugzilla.gnome.org/show_bug.cgi?id=660364
---
ext/opus/gstopusdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c
index ae0b0bc..35f501a 100644
--- a/ext/opus/gstopusdec.c
+++ b/ext/opus/gstopusdec.c
@@ -785,7 +785,7 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buf,
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) {
GST_ELEMENT_ERROR (dec, STREAM, DECODE, ("Decoding error: %d", n), (NULL));
return GST_FLOW_ERROR;
More information about the gstreamer-commits
mailing list