From 7c2489ca77edaf9f9af407d1a165b9da480f6647 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Sat, 12 Sep 2009 00:13:04 +0100 Subject: 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. --- tests/check/elements/souphttpsrc.c | 1 + tests/check/elements/y4menc.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c index 4e8032c1a..85891d761 100644 --- a/tests/check/elements/souphttpsrc.c +++ b/tests/check/elements/souphttpsrc.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/check/elements/y4menc.c b/tests/check/elements/y4menc.c index b5c5fcc46..4fd5d12c8 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, -- cgit v1.2.1