summaryrefslogtreecommitdiff
path: root/gst/gstdeviceproviderfactory.c
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-06-30 23:39:18 -0700
committerSebastian Dröge <sebastian@centricular.com>2014-07-01 09:03:41 +0200
commit5abc82e9f385f14be6dfab9873df7247d455b547 (patch)
tree32de4b959e4a49f72f82b41704359229e08f6925 /gst/gstdeviceproviderfactory.c
parent688108431a4089ddd67e4c1726713b85e134b053 (diff)
introspection: Assorted minor introspection and documentation fixes
https://bugzilla.gnome.org/show_bug.cgi?id=732534
Diffstat (limited to 'gst/gstdeviceproviderfactory.c')
-rw-r--r--gst/gstdeviceproviderfactory.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/gstdeviceproviderfactory.c b/gst/gstdeviceproviderfactory.c
index 3ea0703a3..3f38f0644 100644
--- a/gst/gstdeviceproviderfactory.c
+++ b/gst/gstdeviceproviderfactory.c
@@ -388,8 +388,7 @@ create_failed:
* only be retrieved if the device provider factory is loaded, which can be
* assured with gst_plugin_feature_load().
*
- * Returns: the #GType for device providers managed by this factory or 0 if
- * the factory is not loaded.
+ * Returns: the #GType for device providers managed by this factory.
*
* Since: 1.4
*/
@@ -397,7 +396,8 @@ GType
gst_device_provider_factory_get_device_provider_type (GstDeviceProviderFactory *
factory)
{
- g_return_val_if_fail (GST_IS_DEVICE_PROVIDER_FACTORY (factory), 0);
+ g_return_val_if_fail (GST_IS_DEVICE_PROVIDER_FACTORY (factory),
+ G_TYPE_INVALID);
return factory->type;
}
@@ -463,7 +463,7 @@ gst_device_provider_factory_get_metadata_keys (GstDeviceProviderFactory *
* gst_device_provider_factory_has_classesv:
* @factory: a #GstDeviceProviderFactory
* @classes: (array zero-terminated=1) (allow-none): a %NULL terminated array
- * of klasses to match, only match if all classes are matched
+ * of classes to match, only match if all classes are matched
*
* Check if @factory matches all of the given classes
*
@@ -513,7 +513,7 @@ gst_device_provider_factory_has_classesv (GstDeviceProviderFactory * factory,
/**
* gst_device_provider_factory_has_classes:
* @factory: a #GstDeviceProviderFactory
- * @classes: (allow-none): a "/" separate list of klasses to match, only match
+ * @classes: (allow-none): a "/" separate list of classes to match, only match
* if all classes are matched
*
* Check if @factory matches all of the given @classes