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.
This commit is contained in:
Jan Schmidt 2009-09-12 00:13:04 +01:00
parent 3257374310
commit 7c2489ca77
2 changed files with 2 additions and 2 deletions

View 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>

View 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,