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:
Tim-Philipp Müller 2011-12-12 12:11:40 +00:00
parent 81df7a94c6
commit a81abdeee5
2 changed files with 3 additions and 3 deletions

View file

@ -244,7 +244,7 @@ AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
dnl check for gobject-introspection
GOBJECT_INTROSPECTION_CHECK([0.6.8])
GOBJECT_INTROSPECTION_CHECK([1.31.1])
dnl check for documentation tools
AG_GST_DOCBOOK_CHECK

View file

@ -334,7 +334,7 @@ detailserror:
* It will be given the name supplied, since all elements require a name as
* 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
*/
GstElement *
@ -421,7 +421,7 @@ no_element:
* consisting of the element factory name and a number.
* 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 *
gst_element_factory_make (const gchar * factoryname, const gchar * name)