From e8cabbd3fd9708299c25ea3acb5d3acb2101bfa5 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 13 May 2007 07:08:06 +0000 Subject: ext/neon/gstneonhttpsrc.c: Make redirection the default behavior. Fixes #413818. Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: Make redirection the default behavior. Fixes #413818. --- ext/neon/gstneonhttpsrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/neon') diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index eba4ac0f..4fa06e0a 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -204,7 +204,7 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass) (gobject_class, PROP_NEON_HTTP_REDIRECT, g_param_spec_boolean ("automatic-redirect", "automatic-redirect", "Enable Neon HTTP Redirects (HTTP Status Code 302)", - FALSE, G_PARAM_READWRITE)); + TRUE, G_PARAM_READWRITE)); #ifndef GST_DISABLE_GST_DEBUG g_object_class_install_property @@ -254,6 +254,7 @@ gst_neonhttp_src_init (GstNeonhttpSrc * src, GstNeonhttpSrcClass * g_class) src->icy_metaint = 0; src->user_agent = g_strdup ("neonhttpsrc"); src->seekable = TRUE; + src->neon_http_redirect = TRUE; } static void -- cgit v1.2.1