From e8cabbd3fd9708299c25ea3acb5d3acb2101bfa5 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 13 May 2007 07:08:06 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ common | 2 +- ext/neon/gstneonhttpsrc.c | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a5a9594de7..c49d02834e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-12 David Schleef + + * ext/neon/gstneonhttpsrc.c: + Make redirection the default behavior. Fixes #413818. + 2007-05-10 Stefan Kost * gst/qtdemux/qtdemux.c (gst_qtdemux_move_stream, diff --git a/common b/common index 1b4fb5836a..b5971d76cc 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 1b4fb5836a9e290fe13895643d41e0166de8a94c +Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index eba4ac0f71..4fa06e0a7e 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