summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-05-31 13:08:00 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-05-31 13:09:57 +0200
commit9fae436b6804e8a38b52aeb0ae648cf982de94b7 (patch)
tree859da04ccb8a5a705052ce0d89c8625c09704461
parentf4c96f1dbb1a96939daef2dfda0fc56e53068e4b (diff)
downloadgstreamer-plugins-bad-9fae436b6804e8a38b52aeb0ae648cf982de94b7.tar.gz
faac: Fix unit test after latest faac changes
-rw-r--r--tests/check/elements/faac.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/check/elements/faac.c b/tests/check/elements/faac.c
index 31a68fa5c..cf15bd720 100644
--- a/tests/check/elements/faac.c
+++ b/tests/check/elements/faac.c
@@ -41,13 +41,15 @@ static GstPad *mysrcpad, *mysinkpad;
"mpegversion = (int) 4, " \
"rate = (int) 48000, " \
"channels = (int) 2, " \
- "stream-format = \"raw\""
+ "stream-format = \"raw\"," \
+ "base-profile = \"lc\""
#define AAC_ADTS_CAPS_STRING "audio/mpeg, " \
"mpegversion = (int) 4, " \
"rate = (int) 48000, " \
"channels = (int) 2, " \
- "stream-format = \"adts\""
+ "stream-format = \"adts\"," \
+ "base-profile = \"lc\""
static GstStaticPadTemplate sinktemplate_adts = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@@ -72,7 +74,6 @@ setup_faac (gboolean adts)
GST_DEBUG ("setup_faac");
faac = gst_check_setup_element ("faac");
- g_object_set (faac, "profile", 2, NULL);
mysrcpad = gst_check_setup_src_pad (faac, &srctemplate, NULL);
if (adts)