Tux has asked for the wisdom of the Perl Monks concerning the following question:
I was writing a simple application in perl-Tk that would replace my beep-media-player or xmms. These two are ancient and use a audio interface that will block other applications of also using the audio devices.
So I create a (very) simple GUI in perl-Tk, test it (buttons, open play-list or CD, display status etc etc). Then I add the actual GStreamer calls as documented. I even browsed the examples section to see if I did it right.
Now when I hit the [play] button, the music starts :), so the basics work fine, but the GUI now renders irresponsible. The status isn't updated and none of the buttons work.
Is the Glib::MainLoop overruling the Tk::MainLoop?
Are there any recipes to make this combination work?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Does GStreamer block Tk?
by Anonymous Monk on Aug 18, 2010 at 06:53 UTC | |
Re: Does GStreamer block Tk?
by Tux (Canon) on Aug 18, 2010 at 09:23 UTC | |
Re: Does GStreamer block Tk?
by zentara (Cardinal) on Aug 18, 2010 at 12:36 UTC | |
Re: Does GStreamer block Tk?
by Tux (Canon) on Aug 18, 2010 at 15:15 UTC |