GNOME Bugzilla – Bug 721564
MissingIntPtrCtor exception when using subclass of GstTagMux
Last modified: 2014-01-05 16:30:39 UTC
Created attachment 265364 [details] [review] Patch to make GstTagMux not abstract When calling a function that returns a subclass of GstTagMux, like GstId3v2Mux, a MissingIntPtrCtor exception occurs. This happens because the GstTagMux class is marked as abstract. I'm attaching a patch that uses the same metadata fixup already in place for several other classes. A remark about this issue in general: I don't think it is a bug in the GIR file: from a native point of view, those classes are abstract, you never instantiate them directly, you use the concrete subclasses implemented by plugins, in this case Id3v2Mux, GstApeMux, etc. But in Gst#, we don't have managed classes for those concrete types, so we need to instantiate the base class (TagMux in this case). So having this as a fixup makes sense, but it would be nice to have an exhaustive list of classes that are in that situation.
Comment on attachment 265364 [details] [review] Patch to make GstTagMux not abstract http://cgit.freedesktop.org/gstreamer/gstreamer-sharp/commit/?id=6c63487587af32d9b1fdcca082fa831133097798
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.
Created attachment 265376 [details] Proposed patch This is an autogenerated fixup list generated from gir metadata.