[gstreamer-bugs] [Bug 584747] Add libgstapp bindings

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 3 10:41:24 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=584747

  GStreamer | gst-sharp | Ver: git




------- Comment #2 from Maarten Bosmans  2009-06-03 17:41 UTC -------
Created an attachment (id=135894)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=135894&action=view)
Difference between the two AppSrc bindings

I generated two different bindings for AppSrc/AppSink. The first one
(App.AppSrc in the diff) is generated with the patch from the previous comment,
i.e. by binding libgstapp. The second approach (Base.AppSrc) is using
element-gen.exe to generate the bindings from the plugin elements inspection.

Attached is the difference between the to generated bindings for AppSrc. It is
an example to show why I'm not yet happy with the patch above. I think that
these two methods somehow need to be combinded.

Note that both approaches have some desirable features:
* App.AppSrc:
  - The OnEvent protected methods have correct signature
  - SetCallbacks method to operate the AppSrc in pull-mode
  - EmitSignals property
* Base.AppSrc:
  - Proper contructor
  - Has all the element properties,
    instead of just the ones with library setter/getters.
  - Events with the delegates are defined.


-- 
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=584747.




More information about the Gstreamer-bugs mailing list