Return a GstURIType and not a plain guint.
*
* Returns: type of URIs this element supports
*/
-gint
+GstURIType
gst_element_factory_get_uri_type (GstElementFactory * factory)
{
g_return_val_if_fail (GST_IS_ELEMENT_FACTORY (factory), GST_URI_UNKNOWN);
#include <gst/gstpluginfeature.h>
#include <gst/gstpadtemplate.h>
#include <gst/gstiterator.h>
+#include <gst/gsturi.h>
G_BEGIN_DECLS
guint numpadtemplates;
/* URI interface stuff */
- guint uri_type;
+ GstURIType uri_type;
gchar ** uri_protocols;
GList * interfaces; /* interface type names this element implements */
guint gst_element_factory_get_num_pad_templates (GstElementFactory *factory);
const GList * gst_element_factory_get_static_pad_templates (GstElementFactory *factory);
-gint gst_element_factory_get_uri_type (GstElementFactory *factory);
+GstURIType gst_element_factory_get_uri_type (GstElementFactory *factory);
gchar ** gst_element_factory_get_uri_protocols (GstElementFactory *factory);
gboolean gst_element_factory_has_interface (GstElementFactory *factory,
#include <glib.h>
#include <gst/gstelement.h>
-#include <gst/gstpluginfeature.h>
G_BEGIN_DECLS
/* accessing the interface */
GType gst_uri_handler_get_type (void);
-guint gst_uri_handler_get_uri_type (GstURIHandler * handler);
+GstURIType gst_uri_handler_get_uri_type (GstURIHandler * handler);
gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler);
gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
gboolean gst_uri_handler_set_uri (GstURIHandler * handler,