From: Christopher J. H. R. <cha...@gm...> - 2009-05-19 06:53:49
|
On Mon, 2009-05-18 at 17:13 +0200, Dirk Vanden Boer wrote: > Hi, > > I'm having some troubles playing files with gstreamer using playbin2. > > Playing a list of files works like a charm when I connect to the > about-to-finish signal and set a new uri in the signal handler. > The problem I face is playing multiple files and putting the stream to > the READY status in between the files. > > After putting the stream to the READY status I can't always put it into the > PLAYING status again. I created a minimal testcase that reproduces my > problem. > The file can be found here: > http://code.google.com/p/gejengel/source/browse/trunk/data/main.c > Compile with: gcc main.c -o test `pkg-config --cflags --libs gstreamer-0.10` > > Run the resulting executable with: ./test pathtosome audiofile > It's best to take a short file ~5s. It will start looping the file, on > my machine this usually fails within the first 5 attempts. > > I'm using the gstreamer version from ubuntu jaunty (0.10.22-1) > I'd suggest trying a newer playbin2 element. While playing with hooking up gapless playback in Banshee I saw this sort of behaviour. It's (almost[1]) fixed in the 0.10.22.2 pre-release, and I think there's been a full release of gstreamer-plugins-base since then. [1] Barring wavpack, which still manages to be crazy. http://bugzilla.gnome.org/show_bug.cgi?id=579394 |