summaryrefslogtreecommitdiff
path: root/ext/neon
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-02-24 17:02:08 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-02-24 17:02:08 +0000
commit08147a8f2e7a59cffa7de3f302990129073f015e (patch)
treeb65ff8640608dff867e45d670775c07649041ec8 /ext/neon
parentf27209c6d75ee279078ad7f7bbca4b0fc56dcb27 (diff)
downloadgstreamer-plugins-bad-08147a8f2e7a59cffa7de3f302990129073f015e.tar.gz
Changed property name from "uri" to "location".
Original commit message from CVS: Changed property name from "uri" to "location".
Diffstat (limited to 'ext/neon')
-rw-r--r--ext/neon/gstneonhttpsrc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 44c3594b9..c2e5a5aca 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -45,7 +45,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
enum
{
PROP_0,
- PROP_URI,
+ PROP_LOCATION,
PROP_PROXY
};
@@ -118,9 +118,9 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass)
gobject_class->finalize = gst_neonhttp_src_finalize;
g_object_class_install_property
- (G_OBJECT_CLASS (klass), PROP_URI,
- g_param_spec_string ("uri", "Uri",
- "The uri. In the form:"
+ (G_OBJECT_CLASS (klass), PROP_LOCATION,
+ g_param_spec_string ("location", "Location",
+ "The location. In the form:"
"\n\t\t\thttp://a.com/file.txt - default port '80' "
"\n\t\t\thttp://a.com:80/file.txt "
"\n\t\t\ta.com/file.txt - defualt scheme 'HTTP' "
@@ -554,16 +554,16 @@ gst_neonhttp_src_set_property (GObject * object, guint prop_id,
}
break;
- case PROP_URI:
+ case PROP_LOCATION:
{
if (!g_value_get_string (value)) {
- GST_WARNING ("uri property cannot be NULL");
+ GST_WARNING ("location property cannot be NULL");
goto done;
}
if (!set_uri (g_value_get_string (value), &this->uri, &this->ishttps,
&this->uristr, FALSE)) {
- GST_WARNING ("bad formated uri");
+ GST_WARNING ("bad formated location");
goto done;
}
}
@@ -602,7 +602,7 @@ gst_neonhttp_src_get_property (GObject * object, guint prop_id,
}
}
break;
- case PROP_URI:
+ case PROP_LOCATION:
{
char *str;