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.
This commit is contained in:
David Schleef 2007-05-13 07:08:06 +00:00
parent cead256928
commit e8cabbd3fd
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-05-12 David Schleef <ds@schleef.org>
* ext/neon/gstneonhttpsrc.c:
Make redirection the default behavior. Fixes #413818.
2007-05-10 Stefan Kost <ensonic@users.sf.net> 2007-05-10 Stefan Kost <ensonic@users.sf.net>
* gst/qtdemux/qtdemux.c (gst_qtdemux_move_stream, * gst/qtdemux/qtdemux.c (gst_qtdemux_move_stream,

2
common

@ -1 +1 @@
Subproject commit 1b4fb5836a9e290fe13895643d41e0166de8a94c Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d

View file

@ -204,7 +204,7 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass)
(gobject_class, PROP_NEON_HTTP_REDIRECT, (gobject_class, PROP_NEON_HTTP_REDIRECT,
g_param_spec_boolean ("automatic-redirect", "automatic-redirect", g_param_spec_boolean ("automatic-redirect", "automatic-redirect",
"Enable Neon HTTP Redirects (HTTP Status Code 302)", "Enable Neon HTTP Redirects (HTTP Status Code 302)",
FALSE, G_PARAM_READWRITE)); TRUE, G_PARAM_READWRITE));
#ifndef GST_DISABLE_GST_DEBUG #ifndef GST_DISABLE_GST_DEBUG
g_object_class_install_property g_object_class_install_property
@ -254,6 +254,7 @@ gst_neonhttp_src_init (GstNeonhttpSrc * src, GstNeonhttpSrcClass * g_class)
src->icy_metaint = 0; src->icy_metaint = 0;
src->user_agent = g_strdup ("neonhttpsrc"); src->user_agent = g_strdup ("neonhttpsrc");
src->seekable = TRUE; src->seekable = TRUE;
src->neon_http_redirect = TRUE;
} }
static void static void