From: NAKAJIMA T. <nak...@ni...> - 2013-02-12 15:06:49
|
中島です。 queue.rbのマージありがとうございます! で、今度はtypefind.cにしました。 (ruby-gnome2-devel-enでも表明した方がいいのかな? metadataは取りかかられている方がいらっしゃるので やらないでおきます) こちらはsignal_connectがあるのですが、以下のコードで エラーになっています。 # add objects to the main pipeline pipeline << filesrc << typefind << sink typefind.signal_connect("have-type") do |probability, caps| (caps情報をXML形式で吐くコード) end 実行時のエラーメッセージ: ** (typefind.rb:16761): ERROR **: Please call rbgutil_start_callback_dispatch_thread() to dispatch a callback from non-ruby thread before callbacks are requested from non-ruby thread. 何かおまじないが要るんでしょうか? なおコード全体は以下です。 https://github.com/ted-n/ruby-gnome2/blob/typefind/gstreamer-gi/sample/typefind.rb |