[gstreamer-bugs] [Bug 584744] Add libgstvideo bindings

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 3 12:09:06 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=584744

  GStreamer | gst-sharp | Ver: git




------- Comment #3 from Maarten Bosmans  2009-06-03 19:09 UTC -------
> Yes, the parser *should* generate them automatically :) I also had a lot of
> similar bugs with the parser already... if you want to fix it that'd be great

As Enums can't have methods the best fix I can think off is to put all the
functions that can't be bound in a per library Global/Util class as static
methods, probably marked with hidden="1". Then enabling specific functions can
be as easy as a one-line <move-node> in .metadata.

> If you don't have the time for that I guess the best solution would be to
> simply add them all to the API with the .metadata file.

Yes, that's possible, but I'm really hesitant to go the manual way, when we
should be fixing the auto-generated stuff.

> And something else... I know that the C# naming conventions say that names
> shouldn't have more than a single upper case letter for the same "word" but I'd
> really prefer AYUV instead of Ayuv :)

Hmm, OK. The only objection I can find is that we have to hardcode the values
in .metadata when changing the name attribute to upper case. That kind of
defeats the whole auto-generation thing. Or perhaps there is some gapi-magic to
uppercase all the enum values at once? The whole gapi thing seems terribly
underdocumented. So I guess I'll have to "use the source, Luke".

> Are you going to bind videosink/videofilter too?
> 
> Thanks for working on those library bindings but I think we should coordinate a
> bit more... I wanted to work on libgstvideo next after the cdda and audio
> library ;)

Right now I'm just doing the stuff that I encounter in my app. I didn't come
across videosink/videofilter, but will do those in a next version of the patch.
Do you have any specific ideas on coördination?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=584744.




More information about the Gstreamer-bugs mailing list