GNOME Bugzilla – Bug 669018
[2.0] discoverer: use GTask etc.
Last modified: 2018-11-03 11:21:01 UTC
<pbor> Uraeus: does gst have a lot of API with GErrors passed as signal arguments? <pbor> it's a pattern that is usually avoided in gtk etc if it's not common maybe now that you are breaking the api it is a good time to avoid it pbor, we got it in discoverer (which is where I get this crash https://bugzilla.gnome.org/show_bug.cgi?id=668862 <tomeu> opportunity to make the API more consistent :) <pbor> Uraeus: the pattern used in other places is that you get a signal that the an operation is complete and then you call finish(&err) to know if it failed and to retrieve the error
Indeed, it is a good pattern.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/63.