summaryrefslogtreecommitdiffstats
path: root/ext/neon
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2007-05-13 07:08:06 +0000
committerDavid Schleef <ds@schleef.org>2007-05-13 07:08:06 +0000
commite8cabbd3fd9708299c25ea3acb5d3acb2101bfa5 (patch)
tree4fdf9b711371560ae4ecab8128666c2d7965c32f /ext/neon
parentcead256928e9f293327b01307153a7e489363622 (diff)
downloadgst-plugins-bad-e8cabbd3fd9708299c25ea3acb5d3acb2101bfa5.tar.gz
gst-plugins-bad-e8cabbd3fd9708299c25ea3acb5d3acb2101bfa5.tar.bz2
gst-plugins-bad-e8cabbd3fd9708299c25ea3acb5d3acb2101bfa5.zip
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.
Diffstat (limited to 'ext/neon')
-rw-r--r--ext/neon/gstneonhttpsrc.c3
1 files changed, 2 insertions, 1 deletions
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