Binding a new fundamental type


I recently had a go at upgrading the ruby gstreamer bindings from
0.8 to gstreamer 0.10. After gutting out all the methods that don’t
anymore i ended with something good enough to create pipelines

After that ofcourse the real work started and i hit a big problem
quite soon.
Gstreamer 0.10 introduces a new fundamental type, the gst-miniobject,
is used for things such as events. The fundamental types that ruby
glib binds are hard coded and don’t really allow adding a new one

What would be the best way to solve this? Imho the best way would be
to add a
small api on the glib bindings to define new fundamental type, but i
that that would require some big changes… Opinions?


What is algebra, exactly? Is it one of those three-cornered things?
– J. M. Barrie

This SF.Net email is sponsored by xPML, a groundbreaking scripting
that extends applications into web and mobile media. Attend the live
and join the prime developer group breaking into this new coding

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs