[maemo-developers] Python and GStreamer

From: Kemal Hadimli disqkk at gmail.com
Date: Mon Aug 27 00:04:37 EEST 2007
You could try some code from Kagu again :P

https://www.guardiani.us/projects/kagu/browser/trunk/src/kagu/gstplayer.py?rev=255

We removed it because of the EOS detection problems.


On 8/26/07, Tony Maro <tonymaro at gmail.com> wrote:
> I've been trying to figure out how to use gstreamer to play audio.  It
> works, but sometimes it will randomly freeze my application when I try to
> start an mp3 file playing.  I'm only using two mp3 files and they both work
> at other times (like after a reboot) so I know it's not specifically the
> file.
>
> Sometimes I'll start my application which calls the start method of the
> SoundControl class below - and no sound starts.  Then, when my app tries to
> stop the music, everything freezes up.  It always seems to freeze things
> when I call "stop"
>
> After doing this, my application refuses to work at all (always freezes)
> until I reboot my n800.
>
> If anyone has any ideas, I'd greatly appreciate it.  Yes, I know there's
> probably more optimized ways to do some of what I have in this class, but
> it's grown as I've learned gstreamer, and I haven't stopped to refactor it
> yet.


-- 
Kemal

More information about the maemo-developers mailing list