mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
elementfactory: use new 'transfer floating' annotation for gst_element_factory_make()
Requires gobject-introspection 1.31.1 (older versions will error out with that). https://bugzilla.gnome.org/show_bug.cgi?id=664099
This commit is contained in:
parent
81df7a94c6
commit
a81abdeee5
2 changed files with 3 additions and 3 deletions
|
@ -244,7 +244,7 @@ AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
|
||||||
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
|
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
|
||||||
|
|
||||||
dnl check for gobject-introspection
|
dnl check for gobject-introspection
|
||||||
GOBJECT_INTROSPECTION_CHECK([0.6.8])
|
GOBJECT_INTROSPECTION_CHECK([1.31.1])
|
||||||
|
|
||||||
dnl check for documentation tools
|
dnl check for documentation tools
|
||||||
AG_GST_DOCBOOK_CHECK
|
AG_GST_DOCBOOK_CHECK
|
||||||
|
|
|
@ -334,7 +334,7 @@ detailserror:
|
||||||
* It will be given the name supplied, since all elements require a name as
|
* It will be given the name supplied, since all elements require a name as
|
||||||
* their first argument.
|
* their first argument.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): new #GstElement or NULL if the element couldn't
|
* Returns: (transfer floating): new #GstElement or NULL if the element couldn't
|
||||||
* be created
|
* be created
|
||||||
*/
|
*/
|
||||||
GstElement *
|
GstElement *
|
||||||
|
@ -421,7 +421,7 @@ no_element:
|
||||||
* consisting of the element factory name and a number.
|
* consisting of the element factory name and a number.
|
||||||
* If name is given, it will be given the name supplied.
|
* If name is given, it will be given the name supplied.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): new #GstElement or NULL if unable to create element
|
* Returns: (transfer floating): new #GstElement or NULL if unable to create element
|
||||||
*/
|
*/
|
||||||
GstElement *
|
GstElement *
|
||||||
gst_element_factory_make (const gchar * factoryname, const gchar * name)
|
gst_element_factory_make (const gchar * factoryname, const gchar * name)
|
||||||
|
|
Loading…
Reference in a new issue