[gst-devel] Playlist support for GStreamer

Lutz Müller lutz at topfrose.de
Sun Apr 2 12:30:07 CEST 2006


Hello all!

I've just uploaded a couple of patches to bugzilla that add support for
playlists:

http://bugzilla.gnome.org/show_bug.cgi?id=336951

Basically, I leave everything as it is. There is just one stream. But
this stream may be composed of one or more substreams (like tracks on a
CD). 

To know the number of these substreams:

gst_element_query_duration (element, GST_FORMAT_STREAMS, &num_streams);

To know the duration of the 6th substream:

query = gst_query_new_duration (... GST_FORMAT_TIME...);
gst_query_set_stream (query, 5);
gst_element_query (element, query);

I've also uploaded a patch against gstcddabasesrc and
plugins-base/tests/examples/seek as a proof of concept. 

Playlists will be also useful in the following situations:
 - gnomevfs plugin as soon as multiple files are involved (i.e.
$HOME/*.ogg)
 - v4l - the patch may partially replace the tuner interface
 - DVDs with more than one film
 - tardec (the one that started it all)

I am looking forward to hearing your opinions.

Regards
-- 
Lutz Müller <lutz at topfrose.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060402/542f7aab/attachment.pgp>


More information about the gstreamer-devel mailing list