gstreamer/gst/playback
Wim Taymans 36da226ad6 update TODO some more.
Original commit message from CVS:
update TODO some more.
2004-11-08 19:09:33 +00:00
..
.gitignore ignore 2004-07-20 16:06:38 +00:00
decodetest.c Added some playback helper elements and some test apps, very alpha still. 2004-07-05 11:14:30 +00:00
gstdecodebin.c gst/playback/: Updated README, added more comments for fixmes etc.. 2004-11-08 18:27:25 +00:00
gstplay-marshal.list gst/playback/: Add support for chained ogg files. Prepare for playlist support. This patch introduces the concept of ... 2004-11-08 09:46:17 +00:00
gstplaybasebin.c gst/playback/: Updated README, added more comments for fixmes etc.. 2004-11-08 18:27:25 +00:00
gstplaybasebin.h gst/playback/: Add support for chained ogg files. Prepare for playlist support. This patch introduces the concept of ... 2004-11-08 09:46:17 +00:00
gstplaybin.c gst/playback/: Add support for chained ogg files. Prepare for playlist support. This patch introduces the concept of ... 2004-11-08 09:46:17 +00:00
gststreaminfo.c gst/playback/: Fix playback of multiple files. a slightly different approach to handling dynamic pad removals. 2004-11-02 10:30:36 +00:00
gststreaminfo.h gst/playback/: Fix playback of multiple files. a slightly different approach to handling dynamic pad removals. 2004-11-02 10:30:36 +00:00
Makefile.am gst/playback/Makefile.am: We need the marshallers for decodebin, too. 2004-10-31 13:37:26 +00:00
README update TODO some more. 2004-11-08 19:09:33 +00:00
test.c gst/playback/: More playbin fixes. Added README. Do better element filtering. 2004-07-07 16:53:55 +00:00
test2.c gst/playback/: More playbin fixes. Added README. Do better element filtering. 2004-07-07 16:53:55 +00:00
test3.c ext/alsa/: Re-commit ALSA switches. 2004-08-31 14:12:49 +00:00
test4.c gst/playback/: More fixes on reusing of the element. 2004-07-12 09:11:41 +00:00

decoderbin:

  A bin with a sinkpad that decodes the data into raw formats. It works by sending
  the input data through a typefind element and then recursively autoplugs elements 
  from the registry until a raw format is obtained. It will then create a new ghostpad
  on itself to signal the app of the new pad. 

  Decodebin will also remove pads when they are removed from the stream.

  TODO
   - reuse of decoderbin, cleanup in READY state
   - threading after demuxing?
   - new_media events should be handled.

baseplaybin:

  A bin with an uri property. It will find the right source element from the registry
  and connect a decoderbin to it. When going to the PAUSED state, it will iterate the
  decoderbin and listen for new pad signals from it. It will connect a queue to each
  new pad and will iterate the decoderbin until one of the queues is filled. It is
  assumed that by that time all the streams will be found so that when leaving the
  PAUSED state, one can query the number of streams in the media file with the given
  uri.

  Playbasebin internally groups related streams together in a GstPlayBaseGroup. This
  is particulary important for chained oggs. Initially, a new group is created in 
  the 'building' state. All new streams will be added to the building group until
  no-more-pads is signaled or one of the preroll queues overflows. When this happens,
  the group is commited to a list of groups ready for playback. PlaybaseBin will then
  attach a padprobe to each stream to figure out when it finished. It will remove
  the current group and install the next playable group, then.

  Before going to the PLAYING state, it is possible to connect a custom element to
  each of the streams. To do that, you have to add the element to the bin and then
  connect the pad(s) from the stream(s). You do not have to add the elements in
  a thread, the bin will take care of then when it's needed. You are allowed to use
  threads inside the elements, of course.
  The bin tries to be smart and doesn't add a queue when there is only one possible 
  stream.

  
  TODO
  - reuse, cleanup in ready state
  - when the first pad is closed, it's possible that another dynamic element is
    added somewhere so that we need a queue for the first pad as well.
  - make sure we get EOS on all pads in a group before commiting the next group.

playbin:
  
   Extends baseplaybin, sets up default audiosink and videosink for first audio/video
   stream detected. implements seeking and querying on the configured sinks.

   It also waits for new notifications from playbasebin about any new groups that are
   becomming active. It then disconnects the sinks and reconnects them to the new
   pads in the group.

   TODO
   - reuse, refcounting, cleanup in READY state
   - be smarter about replugging the sinks instead of removing them and readding them.
   - Do not crap out when the audio device is in use.


general

   TODO
   - playlist support. maybe use a playlist bin that streams the contents of the
     playlist on a pad, interleaved with new_media events. Also add a tuner 
     interface while we're at it.
   - plug the many memleaks.