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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 3 12:17:58 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 #4 from Sebastian Dröge  2009-06-03 19:17 UTC -------
(In reply to comment #3)
> > 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".

gapi doesn't have anything for this... you can only override it with the
.metadata files by hand for every value. We have this for many other enum
values at other places too already (to set the values of the GstEventType
enums, to set the Last element of a lot of enums, .....).

gapi isn't perfect and a lot manual work is needed unfortunately. I hope this
gets better once gobject-introspection is completely ready and we have a code
generator that uses it ;)

IMHO we shouldn't spend too much time on improving it when it is only for very
special cases and instead use .metadata or hand-written code.

> > 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?

Well, let's write a mail to each other whenever we start on a new library
binding ;) I'll do cdda/audio next...


-- 
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