GNOME Bugzilla – Bug 341182
Accessing playbin's streaminfo property from high languages sucks
Last modified: 2006-05-11 20:59:44 UTC
As the stream-info property of playbin is declared as a Pointer it's not really usefull for high-level languages (Python/ruby/etc).. There should be some way to get this information from the plugin which is somewhat more bindings-friendly.. This was discussed a little on the gst-devel list recently.
Created attachment 65113 [details] [review] Prove of concept patch This patch solves the issue by putting the streaminfo objects in a GValueArray. Works nicely when used in the ruby bindings (should be fine for python too)
renamed _values to _value_array for consistency. Thanks for the patch, worked fine first try interactively in ipython. More patches like this please !