summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2013-02-14 10:40:36 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2013-02-14 10:40:36 +0000
commit5fddf3f4d66b3047ea7337e81d7f022c075e33b5 (patch)
tree00d89c613b22c435cbf8d5b59645fe906f262b8b /tests
parent829076358eeed3d27b897ba76be1a0acc86b0095 (diff)
downloadgstreamer-plugins-bad-5fddf3f4d66b3047ea7337e81d7f022c075e33b5.tar.gz
tests: fix faad unit test for gst_caps_is_subset() fix in core
Need to specify the stream-format.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/faad.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/check/elements/faad.c b/tests/check/elements/faad.c
index 98406046f..11bbb10cf 100644
--- a/tests/check/elements/faad.c
+++ b/tests/check/elements/faad.c
@@ -161,6 +161,7 @@ GST_START_TEST (test_adts)
buf = gst_buffer_append (header_buf, buf);
caps = gst_caps_from_string (AAC_CAPS_STRING);
+ gst_caps_set_simple (caps, "stream-format", G_TYPE_STRING, "adts", NULL);
do_test (buf, caps);
gst_caps_unref (caps);
}
@@ -181,7 +182,8 @@ GST_START_TEST (test_raw)
buf = gst_buffer_new_and_alloc (size);
gst_buffer_fill (buf, 0, raw_data_block, size);
caps = gst_caps_from_string (AAC_CAPS_STRING);
- gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, codec_buf, NULL);
+ gst_caps_set_simple (caps, "stream-format", G_TYPE_STRING, "raw",
+ "codec_data", GST_TYPE_BUFFER, codec_buf, NULL);
gst_buffer_unref (codec_buf);
do_test (buf, caps);