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 731355 - GstFlowCombiner not introspection-friendly
GstFlowCombiner not introspection-friendly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other Linux
: Normal normal
: 1.3.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-06-07 03:27 UTC by Evan Nemerson
Modified: 2014-06-14 10:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evan Nemerson 2014-06-07 03:27:43 UTC
G-I can't handle GstFlowCombiner because it isn't a boxed type.  Boxing it isn't trivial since there is no copy function.

Perhaps it could be turned into a reference-counting type to keep the cost of the GBoxedCopyFunc down?
Comment 1 Tim-Philipp Müller 2014-06-14 10:36:26 UTC
This should hopefully work:

commit b05eeb9df4f5ea1bb99713d4795c92bd870cf088
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Sat Jun 14 11:31:44 2014 +0100

    flowcombiner: keep a ref to the pads we're using
    
    Needed for use via the boxed type.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731355

commit 49fedb521fe4f3ccade7460027941e94b5d3c720
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Sat Jun 14 10:54:41 2014 +0100

    flowcombiner: add boxed type for bindings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731355

Didn't expose the ref/unref for now, since they don't seem very useful in general.