After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721564 - MissingIntPtrCtor exception when using subclass of GstTagMux
MissingIntPtrCtor exception when using subclass of GstTagMux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
1.0.0
Other Linux
: Normal normal
: 1.0.0
Assigned To: Stephan Sundermann
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-05 12:06 UTC by Bertrand Lorentz
Modified: 2014-01-05 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to make GstTagMux not abstract (1.37 KB, patch)
2014-01-05 12:06 UTC, Bertrand Lorentz
committed Details | Review
Proposed patch (7.66 KB, text/plain)
2014-01-05 15:26 UTC, Stephan Sundermann
  Details

Description Bertrand Lorentz 2014-01-05 12:06:02 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 1 Andrés G. Aragoneses (IRC: knocte) 2014-01-05 14:37:18 UTC
Comment on attachment 265364 [details] [review]
Patch to make GstTagMux not abstract

http://cgit.freedesktop.org/gstreamer/gstreamer-sharp/commit/?id=6c63487587af32d9b1fdcca082fa831133097798
Comment 2 Andrés G. Aragoneses (IRC: knocte) 2014-01-05 14:37:44 UTC
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.
Comment 3 Stephan Sundermann 2014-01-05 15:26:58 UTC
Created attachment 265376 [details]
Proposed patch

This is an autogenerated fixup list generated from gir metadata.