mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 15:12:58 +00:00
avdec: ignore AAC errors instead of erroring out
Also ignore decode errors for AAC and carry on decoding like we do for all other formats. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679639
This commit is contained in:
parent
0e1d6c0011
commit
a3b0ae22d7
1 changed files with 0 additions and 9 deletions
|
@ -742,15 +742,6 @@ gst_ffmpegauddec_audio_frame (GstFFMpegAudDec * ffmpegdec,
|
|||
*outbuf = NULL;
|
||||
}
|
||||
|
||||
/* If we don't error out after the first failed read with the AAC decoder,
|
||||
* we must *not* carry on pushing data, else we'll cause segfaults... */
|
||||
if (len == -1 && (in_plugin->id == CODEC_ID_AAC
|
||||
|| in_plugin->id == CODEC_ID_AAC_LATM)) {
|
||||
GST_ELEMENT_ERROR (ffmpegdec, STREAM, DECODE, (NULL),
|
||||
("Decoding of AAC stream by libav failed."));
|
||||
*ret = GST_FLOW_ERROR;
|
||||
}
|
||||
|
||||
beach:
|
||||
GST_DEBUG_OBJECT (ffmpegdec, "return flow %d, out %p, len %d",
|
||||
*ret, *outbuf, len);
|
||||
|
|
Loading…
Reference in a new issue