Functions
gst_uri_error_quark ()
GQuark
gst_uri_error_quark (void
);
GST_URI_TYPE_IS_VALID()
#define GST_URI_TYPE_IS_VALID(type) ((type) == GST_URI_SRC || (type) == GST_URI_SINK)
gst_uri_protocol_is_valid ()
gboolean
gst_uri_protocol_is_valid (const gchar *protocol
);
gst_uri_protocol_is_supported ()
gboolean
gst_uri_protocol_is_supported (const GstURIType type
,
const gchar *protocol
);
gst_uri_is_valid ()
gboolean
gst_uri_is_valid (const gchar *uri
);
gst_uri_has_protocol ()
gboolean
gst_uri_has_protocol (const gchar *uri
,
const gchar *protocol
);
gst_uri_get_protocol ()
gchar *
gst_uri_get_protocol (const gchar *uri
);
gst_uri_get_location ()
gchar *
gst_uri_get_location (const gchar *uri
);
gst_uri_construct ()
gchar *
gst_uri_construct (const gchar *protocol
,
const gchar *location
);
gst_filename_to_uri ()
gchar *
gst_filename_to_uri (const gchar *filename
,
GError **error
);
gst_uri_handler_get_protocols ()
const gchar * const *
gst_uri_handler_get_protocols (GstURIHandler *handler
);
Types and Values
GstURIHandler
typedef struct _GstURIHandler GstURIHandler;
struct GstURIHandlerInterface
struct GstURIHandlerInterface {
GTypeInterface parent;
/* vtable */
/* querying capabilities */
GstURIType (* get_type) (GType type);
const gchar * const * (* get_protocols) (GType type);
/* using the interface */
gchar * (* get_uri) (GstURIHandler * handler);
gboolean (* set_uri) (GstURIHandler * handler,
const gchar * uri,
GError ** error);
};
GST_URI_NO_PORT
#define GST_URI_NO_PORT 0