mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
typefindfactory: fix return type of gst_type_find_factory_get_extensions()
This commit is contained in:
parent
e73747a7e0
commit
509905035d
2 changed files with 4 additions and 3 deletions
|
@ -186,12 +186,12 @@ gst_type_find_factory_get_caps (GstTypeFindFactory * factory)
|
||||||
* Returns: (transfer none) (array zero-terminated=1) (element-type utf8): a
|
* Returns: (transfer none) (array zero-terminated=1) (element-type utf8): a
|
||||||
* NULL-terminated array of extensions associated with this factory
|
* NULL-terminated array of extensions associated with this factory
|
||||||
*/
|
*/
|
||||||
gchar **
|
const gchar *const *
|
||||||
gst_type_find_factory_get_extensions (GstTypeFindFactory * factory)
|
gst_type_find_factory_get_extensions (GstTypeFindFactory * factory)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (GST_IS_TYPE_FIND_FACTORY (factory), NULL);
|
g_return_val_if_fail (GST_IS_TYPE_FIND_FACTORY (factory), NULL);
|
||||||
|
|
||||||
return factory->extensions;
|
return (const gchar * const *) factory->extensions;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -71,7 +71,8 @@ GType gst_type_find_factory_get_type (void);
|
||||||
|
|
||||||
GList * gst_type_find_factory_get_list (void);
|
GList * gst_type_find_factory_get_list (void);
|
||||||
|
|
||||||
gchar ** gst_type_find_factory_get_extensions (GstTypeFindFactory *factory);
|
const gchar * const * gst_type_find_factory_get_extensions (GstTypeFindFactory *factory);
|
||||||
|
|
||||||
GstCaps * gst_type_find_factory_get_caps (GstTypeFindFactory *factory);
|
GstCaps * gst_type_find_factory_get_caps (GstTypeFindFactory *factory);
|
||||||
gboolean gst_type_find_factory_has_function (GstTypeFindFactory *factory);
|
gboolean gst_type_find_factory_has_function (GstTypeFindFactory *factory);
|
||||||
void gst_type_find_factory_call_function (GstTypeFindFactory *factory,
|
void gst_type_find_factory_call_function (GstTypeFindFactory *factory,
|
||||||
|
|
Loading…
Reference in a new issue