GNOME Bugzilla – Bug 726745
GstURIHandlerInterface incorrect for gst 1.0 vapi.
Last modified: 2014-03-20 22:18:49 UTC
The current GstURIHandlerInterface is: [CCode (cheader_filename = "gst/gst.h", type_cname = "GstURIHandlerInterface", type_id = "gst_uri_handler_get_type ()")] public interface URIHandler : GLib.Object { [CCode (array_length = false, array_null_terminated = true)] public unowned string[] get_protocols (); public abstract string get_uri (); public Gst.URIType get_uri_type (); public abstract bool set_uri (string uri) throws GLib.Error; } I believe the correct one should be: [CCode (cheader_filename = "gst/gst.h", type_cname = "GstURIHandlerInterface", type_id = "gst_uri_handler_get_type ()")] public interface URIHandler : GLib.Object { [CCode (array_length = false, array_null_terminated = true)] public abstract unowned string[] get_protocols (GLib.Type type); public abstract string get_uri (); [CCode (vfunc_name = "get_type")] public abstract Gst.URIType get_uri_type (GLib.Type type); public abstract bool set_uri (string uri) throws GLib.Error; }
commit 5b8db054c3b26c9418816be796fffce9d042a0ee Author: Luca Bruno <lucabru@src.gnome.org> Date: Thu Mar 20 21:27:17 2014 +0100 gstreamer-0.10: Set GstURIHandler.get_uri_type vfunc to get_type Fixes bug 726745 commit c1324f492737c27552a28d0d911e74064cdfa75b Author: Luca Bruno <lucabru@src.gnome.org> Date: Thu Mar 20 22:24:27 2014 +0100 gidlparser: Do not set nullable to void type 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.