1. 29 Mar, 2012 1 commit
  2. 29 Feb, 2012 1 commit
  3. 26 Nov, 2011 1 commit
  4. 11 Nov, 2011 1 commit
    • Wim Taymans's avatar
      .h: fix header files · 4a7c3b92
      Wim Taymans authored
      Ensure correct indentation and :retab.
      Make sure all structures have padding
      Fix up some old ABI additions.
      4a7c3b92
  5. 26 Sep, 2011 1 commit
  6. 29 Aug, 2011 2 commits
    • Wim Taymans's avatar
      miniobject: change to GST_DEFINE_MINI_OBJECT_TYPE · a952de69
      Wim Taymans authored
      Append _TYPE to the macro for consistency with other similar macros.
      a952de69
    • Wim Taymans's avatar
      init: add _get_type() functions · f3b0d3cd
      Wim Taymans authored
      Remove gst_mini_object_register() and add a GST_DEFINE_MINI_OBJECT macro to
      define a _get_type() function for the boxed miniobject.
      Remove a bunch of custom _get_type() functions and replace them with the
      miniobject macro.
      Rename some _init method to _priv_*_initialize() like the rest of them.
      
      Inspired by patch from Johan Dahlin and see bug #657603
      f3b0d3cd
  7. 25 Jul, 2011 1 commit
    • Wim Taymans's avatar
      miniobject: avoid race in bufferpool release · ee235a6b
      Wim Taymans authored
      Avoid playing with the refcount to decide when a buffer has been recycled by the
      dispose function. The problem is that we then temporarily can have a buffer with
      a refcount > 1 being acquired from the pool, which is not writable. Instead use
      a simple boolean return value from the dispose function to inform the called
      that the object was recycled or not.
      ee235a6b
  8. 11 Jul, 2011 1 commit
  9. 09 Jun, 2011 1 commit
  10. 05 Jun, 2011 1 commit
  11. 14 May, 2011 3 commits
  12. 28 Mar, 2011 1 commit
  13. 28 Feb, 2011 1 commit
  14. 27 Feb, 2011 1 commit
  15. 23 Feb, 2011 5 commits
  16. 21 Feb, 2011 1 commit
  17. 01 Sep, 2010 1 commit
  18. 16 Jun, 2010 1 commit
  19. 22 Mar, 2008 1 commit
    • Sebastian Dröge's avatar
      API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT · 7fe1bca9
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/gstminiobject.c: (gst_value_dup_mini_object),
      (gst_param_spec_mini_object):
      * gst/gstminiobject.h:
      * win32/common/libgstreamer.def:
      * docs/gst/gstreamer-sections.txt:
      API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
      GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
      GstParamSpecMiniObject into a public header for this.
      This make GstMiniObject a bit more consistent with GObject and makes
      it possible to extend the param specs.
      gst_value_dup_mini_object is mainly useful for set_property methods.
      Fixes bug #523798.
      * tools/gst-inspect.c: (print_element_properties_info):
      Print something useful for GstMiniObject properties and not just
      "unknown type".
      7fe1bca9
  20. 12 Jun, 2006 1 commit
    • Wim Taymans's avatar
      gst/gstbuffer.h: Avoid unneeded type checking. · bc1bdfab
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.h:
      Avoid unneeded type checking.
      API: GST_BUFFER_IS_DISCONT
      * gst/gstminiobject.h:
      Avoid type check in flag accessor.
      * gst/gstelementfactory.h:
      * gst/gstplugin.h:
      * gst/gstpluginfeature.h:
      Add _CAST macros.
      API: GST_ELEMENT_FACTORY_CAST
      API: GST_PLUGIN_CAST
      API: GST_PLUGIN_FEATURE_CAST
      bc1bdfab
  21. 29 Nov, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstevent.h (struct _GstEvent): Only one pointer of padding. · 65ce5ed0
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-11-29  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
      
      * gst/gststructure.h (struct _GstStructure): Only one pointer of
      padding.
      
      * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
      
      * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
      
      * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
      
      * gst/gstobject.h: (struct _GstObject): Only one pointer of
      padding; reduces object size by about 30%. We don't expect
      anything else to go into gstobject.
      
      * gst/gstminiobject.h (struct _GstMiniObject)
      (struct _GstMiniObjectClass): Only one pointer of padding; the
      payload is only a pointer and two ints anyway. For the class there
      are only two methods as well.
      
      * gst/gstelement.h (struct _GstElementClass): Removed
      the state_changed signal callback, it is not used.
      65ce5ed0
  22. 24 Nov, 2005 1 commit
    • Wim Taymans's avatar
      Doc fixes. · a9f7f7b7
      Wim Taymans authored
      Original commit message from CVS:
      Doc fixes.
      a9f7f7b7
  23. 11 Nov, 2005 1 commit
    • Wim Taymans's avatar
      gst/gstbuffer.c: Copy more flags. · 93e4477d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (_gst_buffer_copy):
      Copy more flags.
      
      * gst/gstcaps.c: (gst_caps_is_equal):
      Fix some docs.
      Make _is_equal fast in the trivial cases.
      
      * gst/gstminiobject.c:
      * gst/gstminiobject.h:
      More docs. Spifify .h file.
      
      * gst/gstutils.c:
      Small doc update.
      93e4477d
  24. 04 Nov, 2005 1 commit
    • Stefan Kost's avatar
      more docs added · fd15eb56
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstcaps.h:
      * gst/gstinfo.c:
      * gst/gstminiobject.h:
      * gst/gstobject.h:
      * gst/gstutils.h:
      more docs added
      fd15eb56
  25. 03 Nov, 2005 1 commit
  26. 28 Oct, 2005 1 commit
  27. 12 Oct, 2005 2 commits
    • Stefan Kost's avatar
      removed unused flags from miniobject doc fixes · 2aaf1df9
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gst.c:
      * gst/gstminiobject.h:
      * gst/gstpad.h:
      * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
      removed unused flags from miniobject
      doc fixes
      2aaf1df9
    • Stefan Kost's avatar
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition · a98aef82
      Stefan Kost authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasesink.c: (gst_base_sink_init):
      * gst/base/gstbasesrc.c: (gst_base_src_init),
      (gst_base_src_get_range), (gst_base_src_check_get_range),
      (gst_base_src_start), (gst_base_src_stop):
      * gst/base/gstbasesrc.h:
      * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstbuffer.h:
      * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
      * gst/gstbus.h:
      * gst/gstelement.c: (gst_element_is_locked_state),
      (gst_element_set_locked_state), (gst_element_commit_state),
      (gst_element_set_state):
      * gst/gstelement.h:
      * gst/gstindex.c: (gst_index_init):
      * gst/gstindex.h:
      * gst/gstminiobject.h:
      * gst/gstobject.c: (gst_object_init), (gst_object_sink),
      (gst_object_set_parent):
      * gst/gstobject.h:
      * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
      (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
      * gst/gstpad.h:
      * gst/gstpadtemplate.h:
      * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
      (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
      * gst/gstpipeline.h:
      * gst/indexers/gstfileindex.c: (gst_file_index_load),
      (gst_file_index_commit):
      * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
      * testsuite/pad/link.c: (gst_test_src_init),
      (gst_test_filter_init), (gst_test_sink_init):
      * testsuite/states/locked.c: (main):
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS
      moved bitshift from macro to enum definition
      a98aef82
  28. 08 Oct, 2005 1 commit
    • Stefan Kost's avatar
      lots of new docs and doc fixes · 8167fcdd
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstmessage.c:
      * gst/gstmessage.h:
      * gst/gstminiobject.c:
      * gst/gstminiobject.h:
      * gst/gstobject.h:
      * gst/gstpad.h:
      * gst/gstutils.h:
      lots of new docs and doc fixes
      8167fcdd
  29. 18 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Removed plugable schedulers. · e1aeec6d
      Wim Taymans authored
      Original commit message from CVS:
      Removed plugable schedulers.
      Removed Scheduler/Manager from elements.
      Removed gsttypes.h, rearranged includes.
      Removed dependency pad<->element, element<>pipeline, and
      various others,  fix includes.
      implement gst_pad_get_parent() with gst_object_get_parent()
      Make GstTask sefcontained.
      Fix _get_state() on GstBin, it did not return ASYNC with a 0
      timeout.
      Fix endless loop in iterator_fold_with_resync.
      e1aeec6d
  30. 27 Jun, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. · f2cf753b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-06-27  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
      remaining buffer.
      
      * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
      returns a sorted copy of the trace list.
      (gst_alloc_trace_print_live): New API, only prints traces with
      live objects. Sort the list.
      (gst_alloc_trace_print_all): Sort the list.
      (gst_alloc_trace_print): Align columns.
      
      * gst/elements/gstttypefindelement.c:
      * gst/elements/gsttee.c:
      * gst/base/gstbasesrc.c:
      * gst/base/gstbasesink.c:
      * gst/base/gstbasetransform.c:
      * gst/gstqueue.c: Adapt for pad activation changes.
      
      * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
      sched.
      (gst_pipeline_dispose): Drop ref on sched.
      
      * gst/gstpad.c (gst_pad_init): Set the default activate func.
      (gst_pad_activate_default): Push mode by default.
      (pre_activate_switch, post_activate_switch): New stubs, things to
      do before and after switching activation modes on pads.
      (gst_pad_set_active): Take a boolean and not a mode, dispatch to
      the pad's activate function to choose which mode to activate.
      Shortcut on deactivation and call the right function directly.
      (gst_pad_activate_pull): New API, (de)activates a pad in pull
      mode.
      (gst_pad_activate_push): New API, same for push mode.
      (gst_pad_set_activate_function)
      (gst_pad_set_activatepull_function)
      (gst_pad_set_activatepush_function): Setters for new API.
      
      * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
      Trace all miniobjects.
      (gst_mini_object_make_writable): Unref the arg if we copy, like
      gst_caps_make_writable.
      
      * gst/gstmessage.c (_gst_message_initialize): No trace init.
      
      * gst/gstghostpad.c (gst_proxy_pad_do_activate)
      (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
      Adapt for new pad API.
      
      * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
      
      * gst/gstelement.h:
      * gst/gstelement.c (gst_element_iterate_src_pads)
      (gst_element_iterate_sink_pads): New API functions.
      
      * gst/gstelement.c (iterator_fold_with_resync): New utility,
      should fold into gstiterator.c in some form.
      (gst_element_pads_activate): Simplified via use of fold and
      delegation of decisions to gstpad->activate.
      
      * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
      help in debugging.
      
      * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
      class once in init, like gstmessage. Didn't run into this issue
      but it seems correct. Don't initialize a trace, gstminiobject does
      that.
      
      * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
      test, runs fakesrc ! fakesink, stopping on ::handoff via a message
      to the bus.
      (assert_live_count): New util function, uses alloc traces to check
      cleanup.
      
      * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
      To be modified when unlink drops the internal pad.
      f2cf753b
  31. 08 Jun, 2005 1 commit
  32. 19 May, 2005 1 commit