1. 24 Jan, 2005 1 commit
  2. 29 Jul, 2004 1 commit
  3. 21 Jul, 2004 1 commit
    • Benjamin Otte's avatar
      gst/gstbin.c: make state changes work correctly and reentrant (so removing... · 28bf2050
      Benjamin Otte authored
      gst/gstbin.c: make state changes work correctly and reentrant (so removing elements from bins during state changes of...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
      (gst_bin_fix_state), (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_child_state_change_func), (set_kid_state_func),
      (gst_bin_set_state), (gst_bin_change_state_norecurse):
      make state changes work correctly and reentrant (so removing
      elements from bins during state changes of bins doesn't cause
      segfaults or even wrong states)
      add debugging category and debugging output to print children states
      * gst/gstbin.c: (gst_bin_dispose):
      add some assertion checks
      * gst/gstbin.h:
      * gst/gstbin.c: (gst_bin_sync_children_state):
      deprecate this function - it just does gst_bin_set_state (bin,
      GST_STATE (bin))
      * testsuite/threads/queue.c: (main):
      don't use gst_bin_sync_children_state anymore
      * testsuite/states/Makefile.am:
      * testsuite/states/bin.c:
      test that the state changes of bins work as expected
      * gst/gstthread.c: (gst_thread_class_init), (gst_thread_set_state):
      some adjustments to change states correctly, too
      * gst/gstthread.c: (gst_thread_change_state):
      don't enable/disable "threadsafe" properties, they're unused and
      cause random segfaults
      * testsuite/threads/Makefile.am:
      the queue check randomly passes now, ignore it
      28bf2050
  4. 13 Jun, 2004 1 commit
  5. 12 Jun, 2004 1 commit
  6. 26 Mar, 2004 1 commit
    • David Schleef's avatar
      docs/gst/gstreamer-sections.txt: More doc hacking. · 209c82ee
      David Schleef authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:  More doc hacking.
      * docs/gst/tmpl/gstaggregator.sgml:
      * docs/gst/tmpl/gstautoplugfactory.sgml:
      * docs/gst/tmpl/gstbin.sgml:
      * docs/gst/tmpl/gstbuffer.sgml:
      * docs/gst/tmpl/gstbufferstore.sgml:
      * docs/gst/tmpl/gstfakesink.sgml:
      * docs/gst/tmpl/gstfakesrc.sgml:
      * docs/gst/tmpl/gstmd5sink.sgml:
      * docs/gst/tmpl/gstreamer-unused.sgml:
      * docs/gst/tmpl/gstsearchfuncs.sgml:
      * docs/gst/tmpl/gstshaper.sgml:
      * docs/gst/tmpl/gstspider.sgml:
      * docs/gst/tmpl/gsttee.sgml:
      * docs/gst/tmpl/gstutils.sgml:
      * docs/gst/tmpl/gstvalue.sgml:
      * docs/gst/tmpl/gstxml.sgml:
      * gst/Makefile.am:  Remove gstthreaddummy.c.  It never worked,
      and we don't support it.
      * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
      (gst_use_threads), (gst_has_threads): same
      * gst/gstthreaddummy.c: same
      * gst/autoplug/gstspider.c: Make gst_spider_details static.
      * gst/autoplug/gstspider.h: same
      * gst/elements/gstaggregator.h: Remove bogus function from header
      * gst/elements/gstfakesink.h: same
      * gst/elements/gstfakesrc.h: same
      * gst/elements/gstmd5sink.h: same
      * gst/elements/gstshaper.h: same
      * gst/elements/gsttee.h: same
      * gst/gstbin.c: doc fixes
      * gst/gstbin.h: Remove unused definition.
      * gst/gstbuffer.c: doc fixes
      * gst/gstcaps.c: (gst_caps_is_always_compatible): doc fixes
      * gst/gstfilter.c: doc fixes
      * gst/gsttag.c: doc fixes
      * gst/gstvalue.c: doc fixes
      209c82ee
  7. 15 Mar, 2004 2 commits
  8. 13 Mar, 2004 1 commit
  9. 05 Feb, 2004 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/. · a8b84d8a
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2004-02-05  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (_gst_real_pad_fixate_accumulator):
      s/pointer/boxed/.
      
      * gst/gstmarshal.list (VOID:BOXED, BOXED:BOXED): New marshallers.
      
      * gst/gstpad.c (gst_real_pad_class_init): Use a BOXED:BOXED
      marshaller for ::fixate, and VOID:BOXED for ::caps-nego-failed,
      with the type=GST_TYPE_CAPS. This allows language bindings to know
      what kind of data they're dealing with.
      
      * gst/gstcaps.c (_gst_caps_value_init): GBoxed values initialize
      to NULL when g_value_init is called. GstCaps, which rolls its own
      type implementation, now does the same instead of allocating empty
      caps.
      (_gst_caps_initialize, _gst_caps_collect_value,
      _gst_caps_lcopy_value): Provide collect_value and lcopy_value type
      table methods. This allows G_VALUE_COLLECT to work.
      
      2004-02-05  Andy Wingo  <wingo@pobox.com>
      
      * configure.ac:
      * testsuite/Makefile.am (SUBDIRS):
      * testsuite/ghostpads/Makefile.am:
      * testsuite/ghostpads/ghostpads.c: A new test for ghost pads.
      
      * gst/gstpad.c (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad):
      These two routines are the only ones that set
      GST_GPAD_REALPAD(gpad), the ghost pad list, and the ghost pad's
      pad template. They should be made static, depending on ABI needs.
      (gst_real_pad_dispose): Handle the case of ghost pads without a
      parent. Assert after dealing with ghost pads that the ghost pad
      list is empty.
      (gst_ghost_pad_class_init): New property added, ::real-pad. Can be
      set after creation.
      (gst_ghost_pad_dispose): Set ::real-pad to NULL.
      (gst_ghost_pad_set_property, gst_ghost_pad_get_property): New
      functions. set_property will call add_ghost_pad/remove_ghost_pad
      as appropriate.
      (gst_ghost_pad_new): All the work is offloaded to g_object_new.
      
      * gst/gstelement.c (gst_element_add_pad): Handle ghost pads as well.
      (gst_element_add_ghost_pad): Remove code duplicated from _add_pad.
      (gst_element_remove_pad): Handle ghost pads as well.
      (gst_element_remove_ghost_pad): Deprecated (could be removed,
      depending on API-stability needs).
      
      2004-02-05  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstbin.[ch]: (gst_bin_get_by_interface): GTypes are scalars,
      of course they're const
      a8b84d8a
  10. 16 Dec, 2003 1 commit
  11. 13 Dec, 2003 1 commit
  12. 09 Dec, 2003 1 commit
  13. 29 Nov, 2003 1 commit
  14. 31 Oct, 2003 1 commit
  15. 14 Oct, 2003 1 commit
  16. 07 Oct, 2003 1 commit
  17. 18 Apr, 2003 1 commit
  18. 15 Apr, 2003 1 commit
  19. 11 Feb, 2003 1 commit
  20. 11 Jan, 2003 1 commit
  21. 19 Dec, 2002 1 commit
    • Wim Taymans's avatar
      - Cleanups · 68b53ac4
      Wim Taymans authored
      Original commit message from CVS:
      - Cleanups
      - Added padding to structs
      - fixed typechecking/casts
      - reduced casts
      - implemented remove_element in gstbin
      - implemented set index on bin
      68b53ac4
  22. 02 Nov, 2002 1 commit
    • Wim Taymans's avatar
      - Reworked the clock to prepare for async notifications · 91b824a3
      Wim Taymans authored
      Original commit message from CVS:
      - Reworked the clock to prepare for async notifications
      - moved some common scheduler checking to gstbin
      - added some vmethods to gstbin for future use
      - more fixes to the optimal scheduler
      - use new clock api in the schedulers
      91b824a3
  23. 24 Jul, 2002 1 commit
  24. 09 Jul, 2002 1 commit
  25. 08 Jul, 2002 1 commit
    • Wim Taymans's avatar
      - Removed unused locking from the cothreads · ae87d97c
      Wim Taymans authored
      Original commit message from CVS:
      - Removed unused locking from the cothreads
      - use G_*_DECLS in .h files
      - remove gstlog.h include from gstobject.h, add to .c files
      - removed unused refcounting code from gstobject
      - small fixes in #includes
      - Added Scheduling policy and priority properties to gstthread so that
      SCHED_FIFO and SCHED_RR threads can be constructed.
      ae87d97c
  26. 10 Jun, 2002 1 commit
  27. 07 Jun, 2002 1 commit
  28. 03 Jun, 2002 1 commit
  29. 19 Apr, 2002 1 commit
  30. 30 Mar, 2002 2 commits
    • Andy Wingo Wingo's avatar
      add notify back to filesrc, it's needed for MVC applications remove notify... · cfb228b0
      Andy Wingo Wingo authored
      add notify back to filesrc, it's needed for MVC applications remove notify printouts from gst-launch cleanup in gst-p...
      
      Original commit message from CVS:
      * add notify back to filesrc, it's needed for MVC applications
      * remove notify printouts from gst-launch
      * cleanup in gst-plugins configure.ac
      * some jack updates
      * remove SELF_ITERATING flag in favor of SEF_SCHEDULABLE (not a clear name,
      but it's what we have for the moment)
      * improve parsing of request pad names, no more sscanf
      * fixes to the fastscheduler Makefile.am
      cfb228b0
    • Wim Taymans's avatar
      - Remove the propsprivate header file · f0326eea
      Wim Taymans authored
      Original commit message from CVS:
      - Remove the propsprivate header file
      - Added new API for properties.
      - Moved the clock distribution to the scheduler.
      - Removed the lock from GstCaps
      - Added boxed types for Caps/Props
      - Simplified the clock, new systemclock implementation
      - Removed deprecated element_info/send_event functions
      - First step at exposing more info in the pad_connect functions
      - Queue cleanup
      - Make the scheduler aware of other schedulers inside it
      - Added the _SELF_SCHEDULABLE flag to gstthread
      - Removed _get_widget from _utils, changed to new props API
      - Make fakesink sync on timestamps when requested
      - Removed the offset notify from filesrc
      - Added a fast scheduler
      - some scheduler cleanups.
      f0326eea
  31. 18 Mar, 2002 1 commit
    • Andy Wingo Wingo's avatar
      s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it... · a43fadec
      Andy Wingo Wingo authored
      s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way added jack ...
      
      Original commit message from CVS:
      * s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way
      * added jack element, doesn't quite work right yet but i didn't want to lose the work -- it does build, register,
      and attempt to run though
      * imposed some restrictions on the naming of request pads to better allow for reverse parsing
      * added '%s' to reverse parsing
      * added new bin flag to indicate that it is self-iterating, and some lame code in gst-launch to test it out
      * fixen on launch-gui
      * added pkg-config stuff for the editor's libs
      a43fadec
  32. 21 Feb, 2002 1 commit
    • Andy Wingo Wingo's avatar
      add two apis: gst_element_connect_elements_many (elem1, elem2, ...) · cbc6f66c
      Andy Wingo Wingo authored
      Original commit message from CVS:
      * add two apis:
      * gst_element_connect_elements_many (elem1, elem2, ...)
      - calls gst_element_connect_elements() in order
      - should be called gst_element_connect_many, but we need to rename gst_element_connect_elements first
      - simplifies common-case code
      * gst_bin_add_many (bin, elem1, ...)
      - calls gst_bin_add on all of the elems
      - again, simplifying common code
      cbc6f66c
  33. 03 Feb, 2002 1 commit
    • Wim Taymans's avatar
      Added a first stab at a better clocking system. · 53b6bb62
      Wim Taymans authored
      Original commit message from CVS:
      Added a first stab at a better clocking system.
      It still needs more infrastructure for async notification and custom clock
      implementors.
      This thing can still deadlock the pipeline.
      53b6bb62
  34. 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
  35. 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
  36. 20 Dec, 2001 1 commit
    • 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
  37. 15 Dec, 2001 1 commit
  38. 12 Dec, 2001 1 commit