Hello Everyone,
last year i did a small video player with gst and ruby. its was pretty
unstable but it was working.
now i got a new/faster pc and reinstalled all the stuff and my player
was not working anymore if i start it 10 times its working once.
here the errors
sometimes =>
##############################################
video-player.rb:220:in `main’: can’t modify frozen string
from video-player.rb:220
sometimes =>
##############################################
pgoetzin@localhost:~/Desktop$ ruby video-player.rb file:///sample.avi
Streaming file:///sample.avi…
video-player.rb:72:in window': stack level too deep from video-player.rb:72:in
video_element_added_cb’
from video-player.rb:28:in initialize' from video-player.rb:220:in
call’
from video-player.rb:220:in `main’
from video-player.rb:220
############################################
i debugged my code and couldn’t get it fixed.
then i tried the old sample, because i was sure that this was working on
the old pc.( i also attached it to this posting) i comment out 2 or 3
lines because of the new api.
but even with the sample i get the same error …
i tried various ruby versions
ruby-1.8.6-p287-src ruby-1.8.7-p72-src with no success.
does anyone have any hints for me ?
i already tried http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips_threads
but with no success
is maybe ruby 1.9 better because of the differnt threading types ?
does someone have a working sample with a window class that includes a
gstwidget and connects to the right signals ?
thanks ahead
Philipp