1. 24 Mar, 2002 1 commit
  2. 17 Mar, 2002 1 commit
  3. 05 Mar, 2002 1 commit
  4. 28 Dec, 2001 1 commit
    • Wim Taymans's avatar
      - Removed deprecated buffer flags. · 90355128
      Wim Taymans authored
      Original commit message from CVS:
      - Removed deprecated buffer flags.
      - removed gst_element_signal_eos, replaced with gst_element_set_eos
      to set the object to PAUSED, signal an eos event etc..
      - small updates to documentation
      - repair some plugins
      90355128
  5. 27 Dec, 2001 1 commit
    • Wim Taymans's avatar
      - Added a function to get the currently executing cothread · e7f54b1e
      Wim Taymans authored
      Original commit message from CVS:
      - Added a function to get the currently executing cothread
      - Removed some useless includes
      - _interrupt now returns a boolean so the behaviour after the interrupt
      can be controlled by the scheduler.
      - Added a better way to set/get the default scheduler.
      - make thread and pipeline get the default scheduler.
      e7f54b1e
  6. 22 Dec, 2001 1 commit
    • Wim Taymans's avatar
      This is an attempt at not segfaulting on errors but reporting some usefull info instead. · 087dee1f
      Wim Taymans authored
      Original commit message from CVS:
      This is an attempt at not segfaulting on errors but reporting some
      usefull info instead.
      - bin changes so errors can propagate.
      - changed the _FAST macros to _CAST because that is what they do.
      - removed all references to cothreads out of the core, they are
      really a scheduler issue, handler with a sched_private gpointer.
      - added a live buffer count, for debugging buffer leaks.
      - added error checking in gst_scheduler_state_transition this solves the
      "out of cothreads" problem.
      - GST_ELEMENT_NO_ENTRY == GST_ELEMENT_INFINITE_LOOP
      - added 2 private element flasg for use by the scheduler
      (_COTHREAD_STOPPING) is now
      - added scheduler entry points:
      - _yield : to create possible scheduling points.
      - _interrupt: to stop execution of an element.
      - _error: to signal en error condition to the scheduler.
      - improved error messages for pads.
      - signal gst_element_error where appropriate.
      - added the a new bin to the parent before entering it so one can reference
      its children.
      - queue memleak fixes on dispose.
      - added possible deadlock detection in queue (turned off be default)
      - GstBasicScheduler is a real class of its own now, hiding its internal
      variables.
      - GST_ELEMENT_IS_COTHREAD_STOPPING is gone. either call explicit _yield
      operations, or make a sane loop.
      - Better state change handling in filesrc. Better error reporting/recovery
      too.
      - updated core plugins.
      - detect non decoupled elements on scheduler boundries and error.
      087dee1f
  7. 20 Dec, 2001 2 commits
    • Wim Taymans's avatar
      - Reclaim cothread state even if the cothread was never activated after the free. · f5affde6
      Wim Taymans authored
      Original commit message from CVS:
      - Reclaim cothread state even if the cothread was never activated after
      the free.
      - fix the bin state change when there are no more children.
      - use a real method to signal the parent bin of a state change.
      - move the state change policy in the scheduler.
      - remove the unused and ridiculous state change event
      - don't free the cothread state when the element is disabled. only free it
      when the element is removed from the scheduler.
      f5affde6
    • Wim Taymans's avatar
      cothread cleanup. · a8b13468
      Wim Taymans authored
      Original commit message from CVS:
      cothread cleanup.
      - removed some old code.
      - ran the thing through indent
      - rename cothread_init/free to cothread_context_init/free
      - implement cothread_free/destroy to clear the cothread_state slot
      - make cothread_init reuse empty slots.
      minor cleanups in error reporting (gstpad, gstelement)
      code cleanup in gstthread
      make unexpected state changes in gstthread less fatal
      free the cothread_state in the scheduler.
      
      This one passes all the current cvs testcases including dynamic-pipeline.
      a8b13468
  8. 19 Dec, 2001 1 commit
    • Wim Taymans's avatar
      Some more work on cleanup. · 5ad01814
      Wim Taymans authored
      Original commit message from CVS:
      Some more work on cleanup.
      - added two functions in the scheduler _setup and _reset to initialize
      the context. In the case of the cothread context we have to map the
      cothread stack space onto the threads stack.
      - setup/reset the scheduler context in the threads context.
      - fix the ghostpad cleanup.
      - slightly changed the scheduler code to cleanly remove connections.
      5ad01814
  9. 15 Dec, 2001 1 commit
  10. 14 Dec, 2001 1 commit
  11. 04 Dec, 2001 1 commit
    • wrobell's avatar
      - some fixes to int2float making automake 1.5 happy (gst now requires... · 08eaa112
      wrobell authored and Wim Taymans's avatar Wim Taymans committed
      - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
      
      Original commit message from CVS:
      - added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
      - some fixes to int2float
      - aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
      making automake 1.5 happy (gst now requires automake1.5). It's still not
      perfect but it builds.
      - Made the schedulers plugable. The default scheduler now lives inside a
      plugin.
      - Added a new mpeg1/2 parser/demuxer.
      - Fixed some compiler warnings in the core libs.
      - substantial work to GstThread (hopefully less race conditions). simplified
      the code in GstThread a bit. A state change can now also happen in the
      thread context.
      - reworked the state semantics of a bin. it'll now automatically get the
      highest state of its children.
      - the autoplugger now nests the threads so that a state change failure of
      one thread doesn't make its upstream thread lock.
      - GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
      way the queue will not wedge in the _get lock.
      - GstQueue unlocks its mutexes when going to PAUSED.
      - make sure that when all elements in a bin/thread go to PAUSED, the bin
      is set to PAUSED too.
      - make a parent bin wait for its children to PAUSE before ending the
      iteration with FALSE (EOS)
      - Some changes to GstPlay to deal with EOS.
      - aplied the latest patch from Zeenix to gstrtp.
      
      end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
      properly.
      08eaa112
  12. 27 Oct, 2001 1 commit
  13. 20 Oct, 2001 1 commit
  14. 17 Oct, 2001 1 commit
  15. 28 Sep, 2001 1 commit
  16. 14 Sep, 2001 2 commits
  17. 06 Aug, 2001 1 commit
  18. 31 Jul, 2001 1 commit
  19. 25 Jun, 2001 2 commits
  20. 24 Jun, 2001 1 commit
  21. 27 May, 2001 1 commit
    • Erik Walthinsen's avatar
      Added some caps != NULL checks. · 13502fc2
      Erik Walthinsen authored
      Original commit message from CVS:
      Added some caps != NULL checks.
      Patched up a problem with the thread handling when the iteration fails.
      Cleaned up the output of -inspect a tiny bit.
      13502fc2
  22. 25 May, 2001 1 commit
  23. 30 Mar, 2001 1 commit
  24. 07 Mar, 2001 1 commit
  25. 23 Feb, 2001 1 commit
  26. 29 Jan, 2001 1 commit
    • Wim Taymans's avatar
      This is a megapatch with the following changes: · 51cbf226
      Wim Taymans authored
      Original commit message from CVS:
      This is a megapatch with the following changes:
      
      - moved the gchar *name to GstObject, removed the ones in GstElement and
      GstPad.
      - moved the parent handling completely into GstObject. This cause *all* of
      the plugins to fail (except those that used gst_pad_get_parent)
      - rearanged the XML save handling.
      - GstObject now has a class function save/restore_thyself.
      - GstObject has a generic method gst_object_save_thyself, this makes it
      possible to fire a signal wehever a new object is loaded. This is needed
      so we can add XML save hooks.
      - GstXML API has changed slightly. You now have to create a GstXML object
      first before you can actually load something. This makes it possible to
      attach a signal to GstXML whenever an object is loaded. I'm not sure we
      will keep this interface.
      - GstObject can now print the path_string without knowing about the GstPad and
      GstElement types.
      - Added gst_bin_get_by_name_recurse_up to lookup an element in the current
      element hierarchy.
      - added XML namespaces to the saved pipelines the namespace is:
      http://gstreamer.net/gst-core/1.0/
      namespaces are needed to distinguish user generated XML from the core XML.
      
      Note that the plugins still contain a macro GST_OBJECT_PARENT that will be
      replaced with gst_pad_get_parent shortly.
      51cbf226
  27. 21 Jan, 2001 2 commits
    • Wim Taymans's avatar
      Docs updates · 75aa948e
      Wim Taymans authored
      Original commit message from CVS:
      Docs updates
      Added XML load from memory functionality
      Undid the videosink patch, something else is wrong now on my machine:
      no MMX acceleration :-(
      75aa948e
    • Wim Taymans's avatar
      More eos handling, bin in bin is handled correctly now. · 044c4611
      Wim Taymans authored
      Original commit message from CVS:
      More eos handling, bin in bin is handled correctly now.
      Updated gstreamer-launch to loop while !EOS.
      044c4611
  28. 20 Jan, 2001 1 commit
    • Wim Taymans's avatar
      More EOS changes. · 7ce56f5d
      Wim Taymans authored
      Original commit message from CVS:
      More EOS changes.
      When a bin2 is found inside a bin1, we add the bin2 to the EOS providers
      of the bin1. When there is nothing more to schedule in bin1 and bin2 has
      fired EOS, bin1 is in EOS.
      The queue overrides the EOS notification and calls EOS on the src pad
      when the queue is empty and the sink pad is in EOS.
      7ce56f5d
  29. 06 Jan, 2001 1 commit
  30. 01 Jan, 2001 1 commit
  31. 30 Dec, 2000 1 commit
  32. 28 Dec, 2000 2 commits
  33. 27 Dec, 2000 1 commit
    • Erik Walthinsen's avatar
      Mostly minor little changes, but two interesting things: 1) removed a... · 7dcd7a13
      Erik Walthinsen authored
      Mostly minor little changes, but two interesting things: 1) removed a pthread_join from the gst_thread_main_loop.  co...
      
      Original commit message from CVS:
      Mostly minor little changes, but two interesting things:
      
      1) removed a pthread_join from the gst_thread_main_loop.  commented out
      because the thread isn't supposed to run pthread_join, the main process is.
      
      2) Fixed a major bug with cothreads in threads.  Had to add MAP_FIXED to
      the mmap() of the cothread stack.  Presumably the gilbc that ships with
      redhat 7.0 now places these mmap requests somewhat randomly.  Since they
      *must* be exactly where we expect them, it was failing.  MAP_FIXED forces
      it to put it where we say.
      7dcd7a13
  34. 26 Dec, 2000 2 commits
    • Erik Walthinsen's avatar
      More massive changes to the scheduling system. Moved the scheduling code to... · a46c5a73
      Erik Walthinsen authored
      More massive changes to the scheduling system.  Moved the scheduling code to gstscheduler.[ch], so an child bin can r...
      
      Original commit message from CVS:
      More massive changes to the scheduling system.  Moved the scheduling code
      to gstscheduler.[ch], so an child bin can replace the scheduler.
      Introduced the concept of chains, which are subsets of the list of managed
      elements for a given manager bin, which get scheduled as separate entities.
      gst_bin_iterate_func should be pretty much fixed now, the scheduling code
      gets to do all the hard work.
      
      Cothreaded case work in the couple tests I've tried, chained is next.
      a46c5a73
    • Erik Walthinsen's avatar
      Changed "bin" to "thread" in get_thread_new. · a1268abb
      Erik Walthinsen authored
      Original commit message from CVS:
      Changed "bin" to "thread" in get_thread_new.
      a1268abb