diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-15 19:27:17 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-15 19:27:17 +0000 |
commit | 7baa6c18e7ea33c0783aa227838544a53393a939 (patch) | |
tree | 2828012c446780bfaa5276fa3ab23be4a975e52d /gst/gsturi.c | |
parent | 84f49e604dc2940a8f58de9f89a27b8dcab3498f (diff) | |
download | gstreamer-7baa6c18e7ea33c0783aa227838544a53393a939.tar.gz |
don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
Diffstat (limited to 'gst/gsturi.c')
-rw-r--r-- | gst/gsturi.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gst/gsturi.c b/gst/gsturi.c index d795cd3123..19c2202ce2 100644 --- a/gst/gsturi.c +++ b/gst/gsturi.c @@ -54,11 +54,12 @@ gst_uri_handler_get_type (void) NULL, NULL }; + urihandler_type = g_type_register_static (G_TYPE_INTERFACE, - "GstURIHandler", &urihandler_info, 0); + "GstURIHandler", &urihandler_info, 0); GST_DEBUG_CATEGORY_INIT (gst_uri_handler_debug, "GST_URI", GST_DEBUG_BOLD, - "handling of URIs"); + "handling of URIs"); } return urihandler_type; } @@ -69,8 +70,8 @@ gst_uri_handler_base_init (gpointer g_class) if (!initialized) { g_signal_new ("new-uri", GST_TYPE_URI_HANDLER, G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GstURIHandlerInterface, new_uri), NULL, NULL, - gst_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); + G_STRUCT_OFFSET (GstURIHandlerInterface, new_uri), NULL, NULL, + gst_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); initialized = TRUE; } } @@ -200,7 +201,8 @@ typedef struct { GstURIType type; gchar *protocol; -} SearchEntry; +} +SearchEntry; static gboolean search_by_entry (GstPluginFeature * feature, gpointer search_entry) { @@ -265,7 +267,7 @@ gst_element_make_from_uri (const GstURIType type, const gchar * uri, if (!possibilities) { GST_DEBUG ("No %s for URI '%s'", type == GST_URI_SINK ? "sink" : "source", - uri); + uri); return NULL; } @@ -273,11 +275,11 @@ gst_element_make_from_uri (const GstURIType type, const gchar * uri, walk = possibilities; while (walk) { if ((ret = gst_element_factory_create (GST_ELEMENT_FACTORY (walk->data), - elementname)) != NULL) { + elementname)) != NULL) { GstURIHandler *handler = GST_URI_HANDLER (ret); if (gst_uri_handler_set_uri (handler, uri)) - break; + break; g_object_unref (ret); ret = NULL; } |