Hi, I use ruby-gnome2 bindings to operate on GStreamer. When my pipeline raises an error, I catch it on the bus. The message that I receive is associated with so-called "structure", which actually contain two keys, for example: gerror = #<#<Class:0x7f7960ee7b78>:0x7f7960ee78d0> debug = gsttcpserversrc.c(437): gst_tcp_server_src_start (): /GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0: bind failed: Address already in use as debug can be translated by OS, I need to get into code of gerror. Seems that class is unnamed, and contains no specific functions to the GError. Is there any way to read that? m.
on 2011-01-25 18:25
on 2011-02-18 01:15
hi marcin -
not sure if this helps at all - i may well be misunderstanding the
question - but i use gstreamer with gtk2, and i parse the error messages
like this...
bus = @pipeline.bus
bus.add_watch {|bus, message|
case message.type
when Gst::Message::ERROR
p message.parse
Gtk.main_quit
....}
-jk
on 2011-02-21 22:46
I'll check that later, thanks! m. 2011/2/18 J. K. <ruby-forum-incoming@andreas-s.net>:
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.