mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
ext/neon/gstneonhttpsrc.c: Add back "uri" property and mark it as deprecated; undoes
Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property): Add back "uri" property and mark it as deprecated; undoes API/ABI breakage from 2006-02-24.
This commit is contained in:
parent
57d1f628c8
commit
a559801c80
3 changed files with 18 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init),
|
||||
(gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property):
|
||||
Add back "uri" property and mark it as deprecated; undoes
|
||||
API/ABI breakage from 2006-02-24.
|
||||
|
||||
2006-04-05 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/qtdemux/qtdemux.c: (gst_qtdemux_perform_seek),
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit cbedff4d5f090d43fdeaa189748a6651f2c6a07f
|
||||
Subproject commit 623fe1c2cce45bc30d5823c05716349874ae994e
|
|
@ -46,6 +46,7 @@ enum
|
|||
{
|
||||
PROP_0,
|
||||
PROP_LOCATION,
|
||||
PROP_URI,
|
||||
PROP_PROXY
|
||||
};
|
||||
|
||||
|
@ -128,6 +129,11 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass)
|
|||
"\n\t\t\thttp:///file.txt - default host '" HTTP_DEFAULT_HOST "'",
|
||||
"", G_PARAM_READWRITE));
|
||||
|
||||
g_object_class_install_property
|
||||
(G_OBJECT_CLASS (klass), PROP_URI,
|
||||
g_param_spec_string ("uri", "Uri",
|
||||
"The location in form of a URI (deprecated; use location)",
|
||||
"", G_PARAM_READWRITE));
|
||||
|
||||
g_object_class_install_property
|
||||
(G_OBJECT_CLASS (klass), PROP_PROXY,
|
||||
|
@ -201,7 +207,7 @@ gst_neonhttp_src_finalize (GObject * gobject)
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
request_dispatch (GstNeonhttpSrc * src, GstBuffer * outbuf, gboolean * eos)
|
||||
{
|
||||
int ret;
|
||||
|
@ -554,6 +560,7 @@ gst_neonhttp_src_set_property (GObject * object, guint prop_id,
|
|||
}
|
||||
|
||||
break;
|
||||
case PROP_URI:
|
||||
case PROP_LOCATION:
|
||||
{
|
||||
if (!g_value_get_string (value)) {
|
||||
|
@ -602,6 +609,8 @@ gst_neonhttp_src_get_property (GObject * object, guint prop_id,
|
|||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case PROP_URI:
|
||||
case PROP_LOCATION:
|
||||
{
|
||||
char *str;
|
||||
|
|
Loading…
Reference in a new issue