From 6ffee3230a7bde00c690fa7467e1b1442c89cba3 Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Fri, 2 Mar 2007 12:04:02 +0000 Subject: ext/neon/gstneonhttpsrc.*: Simplify _set_uri() and _set_proxy() and remove the unused ishttp member (#388050). Original commit message from CVS: Patch by: Lutz Mueller * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_init), (gst_neonhttp_src_set_property), (gst_neonhttp_src_set_uri), (gst_neonhttp_src_set_proxy), (gst_neonhttp_src_send_request_and_redirect), (gst_neonhttp_src_uri_set_uri): * ext/neon/gstneonhttpsrc.h: Simplify _set_uri() and _set_proxy() and remove the unused ishttp member (#388050). * tests/check/elements/neonhttpsrc.c: (GST_START_TEST): Fix bogus URI to something that actually exists, otherwise we just bypass the test (and also to something that doesn't redirect, since neonhttpsrc doesn't seem to handle this very gracefully yet) --- tests/check/elements/neonhttpsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/check/elements') diff --git a/tests/check/elements/neonhttpsrc.c b/tests/check/elements/neonhttpsrc.c index 4d4a892f..c5fc79bc 100644 --- a/tests/check/elements/neonhttpsrc.c +++ b/tests/check/elements/neonhttpsrc.c @@ -50,7 +50,7 @@ GST_START_TEST (test_first_buffer_has_offset) gst_bin_add (GST_BIN (pipe), sink); fail_unless (gst_element_link (src, sink)); - g_object_set (src, "location", "http://www.google.comadfadf", NULL); + g_object_set (src, "location", "http://gstreamer.freedesktop.org/", NULL); g_object_set (src, "automatic-redirect", TRUE, NULL); g_object_set (sink, "signal-handoffs", TRUE, NULL); -- cgit v1.2.1