From: Jan Schmidt Date: Fri, 11 Sep 2009 23:13:04 +0000 (+0100) Subject: check: Fix a couple of tests. X-Git-Tag: RELEASE-0.10.17~218 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c2489ca77edaf9f9af407d1a165b9da480f6647;p=platform%2Fupstream%2Fgst-plugins-good.git 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. --- diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c index 4e8032c..85891d7 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 b5c5fcc..4fd5d12 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,