diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2015-02-05 13:31:18 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2015-02-05 13:31:18 -0300 |
commit | 62309fbfa0b4f96be6cee254e284e843073e1b11 (patch) | |
tree | 61475de80782663c8d5a9b5e88b380576d29d6f3 /ext/faac | |
parent | 759ee4498814e22357615b24345434da3e3ecd56 (diff) | |
download | gstreamer-plugins-bad-62309fbfa0b4f96be6cee254e284e843073e1b11.tar.gz |
faac: relace parsed with framed in aac caps
For AAC it should always be 'framed' and not 'parsed'
Diffstat (limited to 'ext/faac')
-rw-r--r-- | ext/faac/gstfaac.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index 20d79bb7c..c60a442f2 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -90,7 +90,7 @@ "rate = (int) {" SAMPLE_RATES "}, " \ "stream-format = (string) { adts, raw }, " \ "profile = (string) { main, lc }," \ - "parsed = (boolean) true; " + "framed = (boolean) true; " static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, @@ -552,7 +552,7 @@ gst_faac_configure_source_pad (GstFaac * faac, GstAudioInfo * info) "channels", G_TYPE_INT, info->channels, "rate", G_TYPE_INT, info->rate, "stream-format", G_TYPE_STRING, (faac->outputformat ? "adts" : "raw"), - NULL); + "framed", G_TYPE_BOOLEAN, TRUE, NULL); /* DecoderSpecificInfo is only available for mpegversion=4 */ if (faac->mpegversion == 4) { @@ -585,8 +585,6 @@ gst_faac_configure_source_pad (GstFaac * faac, GstAudioInfo * info) } free (config); - - gst_caps_set_simple (srccaps, "framed", G_TYPE_BOOLEAN, TRUE, NULL); } else { const gchar *profile; @@ -606,8 +604,7 @@ gst_faac_configure_source_pad (GstFaac * faac, GstAudioInfo * info) profile = "lc"; break; } - gst_caps_set_simple (srccaps, "profile", G_TYPE_STRING, profile, - "parsed", G_TYPE_BOOLEAN, TRUE, NULL); + gst_caps_set_simple (srccaps, "profile", G_TYPE_STRING, profile, NULL); /* FIXME: How to get the profile for mpegversion==2? */ } |