mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
s/BASESRC/BASE_SRC/.
Original commit message from CVS: 2005-07-05 Andy Wingo <wingo@pobox.com> * ext/gnomevfs/gstgnomevfssrc.c: * gst/sine/gstsinesrc.c: * gst/tcp/gsttcpserversrc.c: * gst/tcp/gsttcpclientsrc.c: s/BASESRC/BASE_SRC/.
This commit is contained in:
parent
02c883d5b5
commit
82fd840734
5 changed files with 15 additions and 10 deletions
|
@ -1,5 +1,10 @@
|
||||||
2005-07-05 Andy Wingo <wingo@pobox.com>
|
2005-07-05 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
|
* ext/gnomevfs/gstgnomevfssrc.c:
|
||||||
|
* gst/sine/gstsinesrc.c:
|
||||||
|
* gst/tcp/gsttcpserversrc.c:
|
||||||
|
* gst/tcp/gsttcpclientsrc.c: s/BASESRC/BASE_SRC/.
|
||||||
|
|
||||||
* sys/v4l/: Port from 0.8.
|
* sys/v4l/: Port from 0.8.
|
||||||
|
|
||||||
* Many files: Null if we got it....
|
* Many files: Null if we got it....
|
||||||
|
|
|
@ -178,7 +178,7 @@ gst_gnomevfssrc_get_type (void)
|
||||||
};
|
};
|
||||||
|
|
||||||
gnomevfssrc_type =
|
gnomevfssrc_type =
|
||||||
g_type_register_static (GST_TYPE_BASESRC,
|
g_type_register_static (GST_TYPE_BASE_SRC,
|
||||||
"GstGnomeVFSSrc", &gnomevfssrc_info, 0);
|
"GstGnomeVFSSrc", &gnomevfssrc_info, 0);
|
||||||
g_type_add_interface_static (gnomevfssrc_type, GST_TYPE_URI_HANDLER,
|
g_type_add_interface_static (gnomevfssrc_type, GST_TYPE_URI_HANDLER,
|
||||||
&urihandler_info);
|
&urihandler_info);
|
||||||
|
@ -211,7 +211,7 @@ gst_gnomevfssrc_class_init (GstGnomeVFSSrcClass * klass)
|
||||||
|
|
||||||
gobject_class = G_OBJECT_CLASS (klass);
|
gobject_class = G_OBJECT_CLASS (klass);
|
||||||
gstelement_class = GST_ELEMENT_CLASS (klass);
|
gstelement_class = GST_ELEMENT_CLASS (klass);
|
||||||
gstbasesrc_class = GST_BASESRC_CLASS (klass);
|
gstbasesrc_class = GST_BASE_SRC_CLASS (klass);
|
||||||
|
|
||||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ gst_sinesrc_get_type (void)
|
||||||
(GInstanceInitFunc) gst_sinesrc_init,
|
(GInstanceInitFunc) gst_sinesrc_init,
|
||||||
};
|
};
|
||||||
|
|
||||||
sinesrc_type = g_type_register_static (GST_TYPE_BASESRC, "GstSineSrc",
|
sinesrc_type = g_type_register_static (GST_TYPE_BASE_SRC, "GstSineSrc",
|
||||||
&sinesrc_info, 0);
|
&sinesrc_info, 0);
|
||||||
}
|
}
|
||||||
return sinesrc_type;
|
return sinesrc_type;
|
||||||
|
@ -139,7 +139,7 @@ gst_sinesrc_class_init (GstSineSrcClass * klass)
|
||||||
gstelement_class = (GstElementClass *) klass;
|
gstelement_class = (GstElementClass *) klass;
|
||||||
gstbasesrc_class = (GstBaseSrcClass *) klass;
|
gstbasesrc_class = (GstBaseSrcClass *) klass;
|
||||||
|
|
||||||
parent_class = g_type_class_ref (GST_TYPE_BASESRC);
|
parent_class = g_type_class_ref (GST_TYPE_BASE_SRC);
|
||||||
|
|
||||||
gobject_class->set_property = gst_sinesrc_set_property;
|
gobject_class->set_property = gst_sinesrc_set_property;
|
||||||
gobject_class->get_property = gst_sinesrc_get_property;
|
gobject_class->get_property = gst_sinesrc_get_property;
|
||||||
|
@ -182,7 +182,7 @@ gst_sinesrc_class_init (GstSineSrcClass * klass)
|
||||||
static void
|
static void
|
||||||
gst_sinesrc_init (GstSineSrc * src)
|
gst_sinesrc_init (GstSineSrc * src)
|
||||||
{
|
{
|
||||||
src->srcpad = GST_BASESRC (src)->srcpad;
|
src->srcpad = GST_BASE_SRC (src)->srcpad;
|
||||||
|
|
||||||
gst_pad_set_fixatecaps_function (src->srcpad, gst_sinesrc_src_fixate);
|
gst_pad_set_fixatecaps_function (src->srcpad, gst_sinesrc_src_fixate);
|
||||||
gst_pad_set_query_function (src->srcpad, gst_sinesrc_src_query);
|
gst_pad_set_query_function (src->srcpad, gst_sinesrc_src_query);
|
||||||
|
|
|
@ -177,7 +177,7 @@ gst_tcpclientsrc_init (GstTCPClientSrc * this)
|
||||||
this->caps = NULL;
|
this->caps = NULL;
|
||||||
this->curoffset = 0;
|
this->curoffset = 0;
|
||||||
|
|
||||||
gst_base_src_set_live (GST_BASESRC (this), TRUE);
|
gst_base_src_set_live (GST_BASE_SRC (this), TRUE);
|
||||||
|
|
||||||
GST_FLAG_UNSET (this, GST_TCPCLIENTSRC_OPEN);
|
GST_FLAG_UNSET (this, GST_TCPCLIENTSRC_OPEN);
|
||||||
}
|
}
|
||||||
|
@ -421,7 +421,7 @@ gst_tcpclientsrc_start (GstBaseSrc * bsrc)
|
||||||
sizeof (src->server_sin));
|
sizeof (src->server_sin));
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
gst_tcpclientsrc_stop (GST_BASESRC (src));
|
gst_tcpclientsrc_stop (GST_BASE_SRC (src));
|
||||||
switch (errno) {
|
switch (errno) {
|
||||||
case ECONNREFUSED:
|
case ECONNREFUSED:
|
||||||
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
|
GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
|
||||||
|
@ -466,12 +466,12 @@ no_socket:
|
||||||
}
|
}
|
||||||
name_resolv:
|
name_resolv:
|
||||||
{
|
{
|
||||||
gst_tcpclientsrc_stop (GST_BASESRC (src));
|
gst_tcpclientsrc_stop (GST_BASE_SRC (src));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
no_caps:
|
no_caps:
|
||||||
{
|
{
|
||||||
gst_tcpclientsrc_stop (GST_BASESRC (src));
|
gst_tcpclientsrc_stop (GST_BASE_SRC (src));
|
||||||
GST_ELEMENT_ERROR (src, RESOURCE, READ, (NULL),
|
GST_ELEMENT_ERROR (src, RESOURCE, READ, (NULL),
|
||||||
("Could not read caps through GDP"));
|
("Could not read caps through GDP"));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -234,7 +234,7 @@ gst_tcpserversrc_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
GST_DEBUG_OBJECT (src, "Received caps through GDP: %s", string);
|
GST_DEBUG_OBJECT (src, "Received caps through GDP: %s", string);
|
||||||
g_free (string);
|
g_free (string);
|
||||||
|
|
||||||
gst_pad_set_caps (GST_BASESRC_PAD (psrc), caps);
|
gst_pad_set_caps (GST_BASE_SRC_PAD (psrc), caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* now receive the buffer header */
|
/* now receive the buffer header */
|
||||||
|
|
Loading…
Reference in a new issue