Removed GstURI , closes bug #321061

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gst.h:
* gst/gsturitype.c:
* gst/gsturitype.h:
* gst/gstutils.c: (gst_util_set_object_arg):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
Removed GstURI , closes bug #321061
This commit is contained in:
Edward Hervey 2005-11-22 13:58:00 +00:00
parent 5f54f34216
commit 891d05bc03
9 changed files with 13 additions and 107 deletions

View file

@ -1,3 +1,15 @@
2005-11-22 Edward Hervey <edward@fluendo.com>
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gst.h:
* gst/gsturitype.c:
* gst/gsturitype.h:
* gst/gstutils.c: (gst_util_set_object_arg):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
Removed GstURI , closes bug #321061
2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
* check/gst/gststructure.c: (GST_START_TEST):

View file

@ -1996,7 +1996,6 @@ gst_type_find_factory_get_type
<TITLE>GstUriHandler</TITLE>
GstURIHandler
GstURIHandlerInterface
GstURIType
GST_URI_TYPE_IS_VALID
gst_uri_protocol_is_valid
gst_uri_is_valid
@ -2016,11 +2015,9 @@ GST_IS_URI_HANDLER
GST_URI_HANDLER_CLASS
GST_URI_HANDLER_GET_INTERFACE
GST_TYPE_URI_HANDLER
GST_TYPE_URI
GST_TYPE_URI_TYPE
<SUBSECTION Private>
gst_uri_handler_get_type
gst_uri_get_uri_type
gst_uri_type_get_type
</SECTION>

View file

@ -123,7 +123,6 @@ libgstreamer_@GST_MAJORMINOR@_la_SOURCES = \
gsttypefind.c \
gsttypefindfactory.c \
$(GST_URI_SRC) \
gsturitype.c \
gstutils.c \
gstvalue.c \
$(GST_PARSE_SRC) \
@ -205,7 +204,6 @@ gst_headers = \
gsttypefind.h \
gsttypefindfactory.h \
gsturi.h \
gsturitype.h \
gstutils.h \
gstvalue.h \
gstregistry.h \

View file

@ -64,7 +64,6 @@
#include <gst/gsttypefind.h>
#include <gst/gsttypefindfactory.h>
#include <gst/gsturi.h>
#include <gst/gsturitype.h>
#include <gst/gstutils.h>
#include <gst/gstvalue.h>
#include <gst/gstxml.h>

View file

@ -1,55 +0,0 @@
/* GStreamer
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
* 2000 Wim Taymans <wtay@chello.be>
*
* gsturi.c: register URI handlers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/**
* SECTION:gsturitype
* @short_description: Describes URI types
*
*/
#include "gst_private.h"
#include "gsturi.h"
#include "gstinfo.h"
GType
gst_uri_get_uri_type (void)
{
static GType uri_type = 0;
if (!uri_type) {
static const GTypeInfo uri_info = {
0,
NULL,
NULL,
NULL,
NULL,
NULL,
0,
0,
NULL,
NULL
};
uri_type = g_type_register_static (G_TYPE_STRING, "GstUri", &uri_info, 0);
}
return uri_type;
}

View file

@ -1,37 +0,0 @@
/* GStreamer
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
* 2000 Wim Taymans <wtay@chello.be>
*
* gsturi.h: Header for uri to element mappings
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_URI_TYPE_H__
#define __GST_URI_TYPE_H__
#include <glib.h>
G_BEGIN_DECLS
/* a static type for making uri element properties */
#define GST_TYPE_URI (gst_uri_get_uri_type())
GType gst_uri_get_uri_type (void);
G_END_DECLS
#endif /* __GST_URI_TYPE_H */

View file

@ -33,7 +33,6 @@
#include "gst_private.h"
#include "gstghostpad.h"
#include "gstutils.h"
#include "gsturitype.h"
#include "gstinfo.h"
#include "gst-i18n-lib.h"
@ -291,8 +290,6 @@ gst_util_set_object_arg (GObject * object, const gchar * name,
sscanf_ret = sscanf (value, "%d", &i);
g_return_if_fail (sscanf_ret == 1);
g_object_set (G_OBJECT (object), name, i, NULL);
} else if (paramspec->value_type == GST_TYPE_URI) {
g_object_set (G_OBJECT (object), name, value, NULL);
}
break;
}

View file

@ -103,9 +103,7 @@ main (int argc, char *argv[])
argnode = xmlNewChild (factorynode, NULL, (xmlChar *) "argument",
(xmlChar *) param->name);
if (param->value_type == GST_TYPE_URI) {
xmlNewChild (argnode, NULL, (xmlChar *) "filename", NULL);
} else if (G_IS_PARAM_SPEC_ENUM (param) == G_TYPE_ENUM) {
if (G_IS_PARAM_SPEC_ENUM (param) == G_TYPE_ENUM) {
GEnumValue *values;
gint j;

View file

@ -425,9 +425,6 @@ print_element_properties_info (GstElement * element)
break;
}
default:
if (param->value_type == GST_TYPE_URI) {
n_print ("%-23.23s URI", "");
}
if (param->value_type == GST_TYPE_CAPS) {
const GstCaps *caps = gst_value_get_caps (&value);