GNOME Bugzilla – Bug 663499
gstreamer-0.10: Fix ElementList related functions
Last modified: 2011-11-07 09:45:54 UTC
Fix return type ownership and element type for ElementFactory functions dealing with lists.
Created attachment 200828 [details] [review] gstreamer-0.10: Fix ElementList related functions Set proper return type and ownership for ElementFactory.list_filter and ElementFactory.list_get_elements as well as making ElementListFactoryType inherit from int64.
Thanks for the patch. Are you sure that <ElementListType> is right instead of <ElementTypeListType?> ? Did you test that? Using an int64 as generic is unsafe.
I think you misread the patch, the generic is always ElementFactory, ElementFactoryListType is the first parameter of ElementFactory.list_get_elements
commit 093fc8f9a0351201e403c83f86579d86d50c19a5 Author: Jens Georg <mail@jensge.org> Date: Sun Nov 6 13:51:50 2011 +0100 gstreamer-0.10: Fix ElementFactory methods and ElementFactoryListType Set proper return type and ownership for ElementFactory.list_filter and ElementFactory.list_get_elements as well as making ElementFactoryListType inherit from int64. Fixes bug 663499. I've changed the ListType to be an uint64. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.