Forum: Ruby-Gnome 2 Is it possible to read GError raised by GStreamer?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms. (Guest)
on 2011-01-25 18:25
(Received via mailing list)

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 ():
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

Is there any way to read that?

7f28f9db46bfe8e9b8b5fcd90b2f1302?d=identicon&s=25 J. K. (j_k)
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

 -jk (Guest)
on 2011-02-21 22:46
(Received via mailing list)
I'll check that later, thanks!


2011/2/18 J. K. <>:
This topic is locked and can not be replied to.