[gst-devel] decodebin with playlist?
Jan Schmidt
thaytan at noraisin.net
Tue Aug 8 22:08:42 CEST 2006
On Mon, 2006-08-07 at 21:03 -0400, Ian Turner wrote:
> Using the decodebin example code as a reference, everything works fine for the
> first file. Then I set the pipeline to NULL state, change the "location"
> property on the gnomevfssrc, and set it back to PLAYING, and all hell breaks
> loose.
Are you using the latest releases? decodebin should be reusable with
recent gst-plugins-base.
> I'd rather not recreate the entire pipeline each time, as that entails the
> starting and stopping of a lot of threads, with consequent performance loss.
> Is there a better way? How can I tell the decodebin to start typefinding
> anew?
You're going to be starting and stopping/creating and destroying threads
regardless - pipelines do that when they change state anyway.
Cheers,
Jan
--
Jan Schmidt <thaytan at noraisin.net>
More information about the gstreamer-devel
mailing list