[gst-devel] Problem using Playbin2

Christopher James Halse Rogers chalserogers at gmail.com
Tue May 19 08:53:33 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090519/f88f5808/attachment.pgp>


More information about the gstreamer-devel mailing list