summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-09-12 00:13:04 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-09-12 00:13:04 +0100
commit7c2489ca77edaf9f9af407d1a165b9da480f6647 (patch)
treee30fc1ebd1e732c4b9d43240d7e4e3871794c315 /tests
parent3257374310776091cb1a81f3245d29f161685f94 (diff)
check: Fix a couple of tests.
The souphttpsrc test wasn't compiling. The soup-misc.h header is needed for soup_ssl_supported. Fix the y4menc test to use a 'progressive' header for the test data now that the element outputs correct interlacing info.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/souphttpsrc.c1
-rw-r--r--tests/check/elements/y4menc.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
index 4e8032c1..85891d76 100644
--- a/tests/check/elements/souphttpsrc.c
+++ b/tests/check/elements/souphttpsrc.c
@@ -27,6 +27,7 @@
#include <glib/gprintf.h>
#include <libsoup/soup-address.h>
#include <libsoup/soup-message.h>
+#include <libsoup/soup-misc.h>
#include <libsoup/soup-server.h>
#include <libsoup/soup-auth-domain.h>
#include <libsoup/soup-auth-domain-basic.h>
diff --git a/tests/check/elements/y4menc.c b/tests/check/elements/y4menc.c
index b5c5fcc4..4fd5d12c 100644
--- a/tests/check/elements/y4menc.c
+++ b/tests/check/elements/y4menc.c
@@ -83,8 +83,7 @@ GST_START_TEST (test_y4m)
GstBuffer *inbuffer, *outbuffer;
GstCaps *caps;
int i, num_buffers, size;
- const gchar *data0 = "YUV4MPEG2 W384 H288 I? F25:1 A1:1\nFRAME\n";
-
+ const gchar *data0 = "YUV4MPEG2 W384 H288 Ip F25:1 A1:1\nFRAME\n";
y4menc = setup_y4menc ();
fail_unless (gst_element_set_state (y4menc,