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 583631 - Add bindings for the CapsFilter element
Add bindings for the CapsFilter element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
git master
Other All
: Normal enhancement
: 0.9.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-23 11:42 UTC by Maarten Bosmans
Modified: 2009-09-11 08:49 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
proposed patch (1.20 KB, patch)
2009-05-23 11:48 UTC, Maarten Bosmans
rejected Details | Review

Description Maarten Bosmans 2009-05-23 11:42:16 UTC
Gstreamer-sharp should have to easily use the CapsFilter element.
Comment 1 Maarten Bosmans 2009-05-23 11:48:31 UTC
Created attachment 135230 [details] [review]
proposed patch

This patch adds the Gst.CorePlugins.CapsFilter element.

I used Gstreamer.metadata, so that gapi-fixup automatically generates the nescessary api. Is this the correct way to do it, or should I just make a static file, like coreplugins/TypeFindElement.cs?

The automatic generated api seems the better option if we want to add all the coreplugins eventually, especially if we can find a way to automatically generate the 'public static [Element] Make (string name)' method or similar functionality.
Comment 2 Sebastian Dröge (slomo) 2009-05-25 10:21:51 UTC
commit cdc9fcd45dbc3c4f9dedf97894864b426f6b3d05
Author: Maarten Bosmans <mkbosmans@gmail.com>
Date:   Mon May 25 12:20:20 2009 +0200

    Add bindings for CapsFilter
    
    Fixes bug #583631.



As said via private mail already the plan is to write a code generator that takes the output of gst-xmlinspect. For now I've added a CapsFilter bindings with static code.