check: Fix a couple of tests.
authorJan Schmidt <thaytan@noraisin.net>
Fri, 11 Sep 2009 23:13:04 +0000 (00:13 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Fri, 11 Sep 2009 23:13:04 +0000 (00:13 +0100)
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
tests/check/elements/y4menc.c

index 4e8032c..85891d7 100644 (file)
@@ -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>
index b5c5fcc..4fd5d12 100644 (file)
@@ -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,