1. 08 Mar, 2005 1 commit
    • Wim Taymans's avatar
      Docs updates, clean up some headers. · b338085a
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-MT-refcounting.txt:
      * docs/design/part-conventions.txt:
      * docs/design/part-gstobject.txt:
      * docs/design/part-relations.txt:
      * docs/design/part-standards.txt:
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
      (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
      (gst_bin_get_by_name), (gst_bin_get_by_interface),
      (gst_bin_iterate_all_by_interface):
      * gst/gstbuffer.h:
      * gst/gstclock.h:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_change_state), (gst_element_set_loop_function):
      * gst/gstelement.h:
      * gst/gstiterator.c:
      * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
      (gst_object_unref), (gst_object_sink), (gst_object_dispose),
      (gst_object_dispatch_properties_changed), (gst_object_set_name),
      (gst_object_set_parent), (gst_object_unparent),
      (gst_object_check_uniqueness):
      * gst/gstobject.h:
      Docs updates, clean up some headers.
      Free iterators in GstBin.
      GstObject is now looking good.
      b338085a
  2. 07 Mar, 2005 1 commit
  3. 19 Feb, 2005 1 commit
    • Benjamin Otte's avatar
      gst/: name objects by default, not in gst_element_factory_create. Allows using... · 232f295a
      Benjamin Otte authored
      gst/: name objects by default, not in gst_element_factory_create. Allows using elements created with g_object_new. (f...
      
      Original commit message from CVS:
      * gst/gstelementfactory.c: (gst_element_factory_create):
      * gst/gstobject.c: (gst_object_init),
      (gst_object_set_name_default), (gst_object_set_name):
      name objects by default, not in gst_element_factory_create. Allows
      using elements created with g_object_new. (fixes #167283)
      232f295a
  4. 10 Jan, 2005 1 commit
    • Thomas Vander Stichele's avatar
      docs/random/release: updates · b848c8be
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * docs/random/release:
      updates
      * gst/gst_private.h:
      * gst/gstinfo.c:
      * gst/gstobject.c:
      move deep_notify logging to a new category
      * gst/gstprobe.c:
      * gst/gstprobe.h:
      add stuff so bindings can wrap probes
      b848c8be
  5. 02 Nov, 2004 1 commit
    • Wim Taymans's avatar
      gst/: Aplied part of patch #157127: Cleanup of issues reported by sparse. · 6d42edd5
      Wim Taymans authored
      Original commit message from CVS:
      reviewed by: Wim Taymans, Ronald Bultje.
      
      * gst/cothreads.c: (cothread_create):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_child_state_change_func):
      * gst/gstbuffer.c: (gst_buffer_span):
      * gst/gstelement.c: (gst_element_get_index),
      (gst_element_get_event_masks), (gst_element_get_query_types),
      (gst_element_get_formats):
      * gst/gsterror.c: (_gst_core_errors_init),
      (_gst_library_errors_init), (_gst_resource_errors_init),
      (_gst_stream_errors_init):
      * gst/gstobject.c: (gst_object_default_deep_notify):
      * gst/gstpad.c: (gst_pad_get_event_masks),
      (gst_pad_get_internal_links_default):
      * gst/gstplugin.c: (gst_plugin_register_func),
      (gst_plugin_get_module):
      * gst/gststructure.c: (gst_structure_get_string),
      (gst_structure_get_abbrs), (gst_structure_from_abbr),
      (gst_structure_to_abbr):
      * gst/gstutils.c: (gst_print_element_args):
      * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
      (setup_group_scheduler), (gst_opt_scheduler_iterate):
      Aplied part of patch #157127: Cleanup of issues reported by
      sparse.
      Also do not try to use cothreads when there is no cothread
      context yet.
      6d42edd5
  6. 28 Jul, 2004 1 commit
  7. 06 Jul, 2004 1 commit
  8. 12 Jun, 2004 2 commits
  9. 13 Apr, 2004 1 commit
  10. 09 Apr, 2004 1 commit
    • Benjamin Otte's avatar
      gst/: don't use memchunks for these objects, use malloc instead · 3147797a
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_get_type):
      * gst/gstclock.c: (gst_clock_get_type):
      * gst/gstindex.c: (gst_index_get_type):
      * gst/gstobject.c: (gst_object_get_type),
      (gst_signal_object_get_type):
      * gst/gstpad.c: (gst_pad_get_type), (gst_real_pad_get_type),
      (gst_pad_template_get_type), (gst_ghost_pad_get_type):
      * gst/gstpluginfeature.c: (gst_plugin_feature_get_type):
      * gst/gstqueue.c: (gst_queue_get_type):
      * gst/gstregistry.c: (gst_registry_get_type):
      * gst/gstsystemclock.c: (gst_system_clock_get_type):
      * gst/gstthread.c: (gst_thread_get_type):
      don't use memchunks for these objects, use malloc instead
      3147797a
  11. 15 Mar, 2004 1 commit
  12. 13 Mar, 2004 1 commit
  13. 04 Mar, 2004 1 commit
  14. 11 Feb, 2004 2 commits
    • David Schleef's avatar
      docs/gst/tmpl/gstcaps.sgml: Fix stuff that mentions GstProps · 7e6017aa
      David Schleef authored
      Original commit message from CVS:
      * docs/gst/tmpl/gstcaps.sgml:  Fix stuff that mentions GstProps
      * docs/gst/tmpl/gstpadtemplate.sgml: same
      * docs/gst/tmpl/gstreamer-unused.sgml: Remove GstProps
      * gst/gstobject.c: (gst_object_set_name_default): Do the memleak
      fixing dance.
      * gst/gstutils.c: Remove disabled code that uses GstProps.
      * gst/registries/gstxmlregistry.h: same
      * docs/random/ds/0.9-suggested-changes: random notes
      7e6017aa
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (gst_pad_custom_new): Add a FIXME, this is a hacky way to do inheritance. · d0c8e3a9
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2004-02-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_pad_custom_new): Add a FIXME, this is a hacky
      way to do inheritance.
      (gst_pad_get_event_masks, gst_pad_get_event_masks_default)
      (gst_pad_get_query_types, gst_pad_get_query_types_default):
      Routine docs.
      (gst_pad_set_link_function, gst_pad_set_fixate_function)
      (gst_pad_set_getcaps_function): Doc from Dave's negotation random
      doc.
      (gst_pad_unlink, gst_pad_is_linked): Docs.
      (gst_pad_renegotiate): A brief description of capsnego.
      (gst_pad_try_set_caps): Document.
      (gst_pad_try_set_caps_nonfixed): Document.
      (gst_pad_can_link_filtered, gst_pad_link_filtered): Doc fixes.
      (gst_pad_set_parent): Deprecated (although not out of the API).
      (gst_pad_get_parent): Deprecated, although many plugins use this.
      (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad): Doc that these
      are private and will go away in 0.9.
      (gst_pad_perform_negotiate): Doc.
      (gst_pad_link_unnegotiate): I think this is meant to be static.
      (gst_pad_get_negotiated_caps, gst_pad_get_pad_template_caps)
      (gst_pad_template_get_caps_by_name, gst_pad_check_compatibility)
      (gst_pad_get_peer): Doc updates.
      (gst_pad_caps_change_notify): Doc.
      (gst_pad_alloc_buffer, gst_pad_push, gst_static_pad_template_get)
      (gst_ghost_pad_new): Doc fixes.
      
      * gst/gstobject.c (gst_object_get_parent, gst_object_unparent)
      (gst_object_check_uniqueness):
      
      * gst/gstelement.c (gst_element_add_pad)
      (gst_element_add_ghost_pad, gst_element_remove_pad)
      (gst_element_remove_ghost_pad, gst_element_get_pad)
      (gst_element_get_static_pad, gst_element_get_pad_list)
      (gst_element_class_get_pad_template_list)
      (gst_element_class_get_pad_template): Work on the docs.
      (gst_element_get_pad_template_list): Uses the class method.
      (gst_element_get_compatible_pad_template): Docs, and consolidate
      some test conditions.
      (gst_element_get_pad_from_template): New static function.
      (gst_element_request_compatible_pad): Docs, and work with
      non-request compatible templates.
      (gst_element_get_compatible_pad_filtered): Docs and remove
      redundant checks.
      (gst_element_get_compatible_pad, gst_element_link_pads_filtered)
      (gst_element_link_filtered, gst_element_link_many)
      (gst_element_link, gst_element_link_pads)
      (gst_element_unlink_many): Docs.
      
      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
      d0c8e3a9
  15. 03 Feb, 2004 1 commit
    • Benjamin Otte's avatar
      gst/: get rid of gstmarshal.h dependency. It's not needed. · 4749c7a4
      Benjamin Otte authored
      Original commit message from CVS:
      2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>
      
      * gst/parse/Makefile.am:
      * gst/gstobject.h:
      get rid of gstmarshal.h dependency. It's not needed.
      * gst/gst.h:
      * gst/elements/gstfakesink.c:
      * gst/elements/gstfakesrc.c:
      * gst/elements/gstidentity.c:
      * gst/gstbin.c:
      * gst/gstelement.c:
      * gst/gstindex.c:
      * gst/gstobject.c:
      * gst/gstpad.c:
      * gst/gstthread.c:
      * gst/gstxml.c:
      * libs/gst/control/dparam.c:
      * libs/gst/control/dparammanager.c:
      include gstmarshal.h.
      Fixes #132045
      4749c7a4
  16. 30 Jan, 2004 1 commit
    • Benjamin Otte's avatar
      parts of the patch submitted in bug #113913 · 192330d3
      Benjamin Otte authored
      Original commit message from CVS:
      2004-01-30  Laurent Vivier <Laurent.Vivier@bull.net>
      
      reviewed by Benjamin Otte
      parts of the patch submitted in bug #113913
      
      * configure.ac:
      use AC_C_INLINE. Use = instead of == with test
      * examples/plugins/example.c:
      * gst/autoplug/gstspideridentity.c:
      * gst/elements/gstfdsrc.c:
      * gst/elements/gstfilesrc.c:
      * gst/elements/gstidentity.c:
      * gst/elements/gstmultidisksrc.c:
      * gst/elements/gststatistics.c:
      * gst/gstelement.c:
      * gst/gstobject.c:
      * gst/gstpad.c:
      * gst/gstpipeline.c:
      * gst/gstthread.c:
      don't end enums with a comma
      * gst/gstindex.c: (gst_index_compare_func):
      do explicit casting to gint
      * gst/gsttrace.c: (gst_trace_text_flush):
      #define strsize as a macro
      192330d3
  17. 13 Nov, 2003 1 commit
  18. 29 Jun, 2003 1 commit
    • Benjamin Otte's avatar
      GST_DEBUG reorganization containing loads of stuff: · 803ce6bf
      Benjamin Otte authored
      Original commit message from CVS:
      GST_DEBUG reorganization
      This is a big diff (ca 450k), containing loads of stuff:
      - gstinfo.[ch] complete rewrite
      - changing of all GST_DEBUG messages to reflect that change
      - reorganization of subsystem disabling
      - addition of gstconfig.h.in so we can track the disablings
      - <gst/gst.h> does not include <unistd.h> and <config.h> anymore
      - documentation updated for gstinfo stuff (build the docs yourself to know what changed)
      - bugfixes for making of the docs (files from CVS are not deleted anymore
      - testsuite for debugging changes in testsuite/debug
      
      expect breakage
      803ce6bf
  19. 16 Jun, 2003 1 commit
  20. 09 Jun, 2003 1 commit
  21. 10 May, 2003 1 commit
  22. 02 May, 2003 1 commit
  23. 15 Apr, 2003 1 commit
  24. 25 Mar, 2003 1 commit
  25. 10 Feb, 2003 1 commit
  26. 02 Feb, 2003 1 commit
  27. 17 Jan, 2003 3 commits
  28. 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
  29. 14 Dec, 2002 1 commit
  30. 20 Nov, 2002 1 commit
  31. 02 Nov, 2002 1 commit
  32. 28 Aug, 2002 1 commit
  33. 24 Jul, 2002 1 commit
  34. 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
  35. 05 May, 2002 1 commit
  36. 01 May, 2002 1 commit