Ubuntu 12.04 + Gstreamer 1.0 via Gems 2.x. При включении звука/видео падает
Novator opened this issue · comments
Если Gstreamer 1.0 установлен через Gems 2.x, то при попытке инициализировать микрофон, пандора падает:
"Cannot create gstreamer element "alsasrc""
"Cannot create gstreamer element "audioconvert""
"Cannot create gstreamer element "audioresample""
Microphone init exception: undefined method parse' for Gst::Caps:Class /home/andy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/gobject-introspection-2.0.2/lib/gobject-introspection/loader.rb:249:in
validate_arguments': Gst::Element#get_state: wrong number of arguments (0 for 1)
from /home/andy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/gobject-introspection-2.0.2/lib/gobject-introspection/loader.rb:313:in block in load_method_info' from /home/andy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/gobject-introspection-2.0.2/lib/gobject-introspection/loader.rb:316:in
call'
from /home/andy/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/gobject-introspection-2.0.2/lib/gobject-introspection/loader.rb:316:in block in load_method_info' from ./pandora.rb:9944:in
init_audio_sender'
from ./pandora.rb:8870:in block in initialize' from ./pandora.rb:6729:in
block in good_signal_clicked'
from ./pandora.rb:11329:in call' from ./pandora.rb:11329:in
main'
from ./pandora.rb:11329:in initialize' from ./pandora.rb:11348:in
new'
from ./pandora.rb:11348:in `
Проблема решается если ставить Gems 1.x и Gstreamer 0.1,
также всё хорошо, если ставить через пакетный менеджер Synaptic.