faac: only raw output needs codec_data in caps

This commit is contained in:
Mark Nauwelaerts 2009-12-18 16:16:46 +01:00
parent a61183fe29
commit 137866c14b

View file

@ -499,7 +499,7 @@ gst_faac_configure_source_pad (GstFaac * faac)
"channels", G_TYPE_INT, faac->channels,
"rate", G_TYPE_INT, faac->samplerate, NULL);
if (mpegversion == 4) {
if (!faac->outputformat) {
GstBuffer *codec_data;
guint8 *config = NULL;
gulong config_len = 0;