1. 26 Nov, 2011 1 commit
  2. 25 Nov, 2011 1 commit
  3. 13 Oct, 2011 1 commit
  4. 15 Aug, 2011 1 commit
  5. 21 Feb, 2011 1 commit
  6. 07 Dec, 2010 1 commit
  7. 01 Sep, 2010 1 commit
  8. 14 Jan, 2010 1 commit
  9. 25 Dec, 2009 1 commit
    • Wim Taymans's avatar
      buffer: remove subbuffer subclass · 67bd9529
      Wim Taymans authored
      Move the parent buffer pointer into the GstBuffer struct so that we can
      remove the subbuffer class and type. This is interesting because it allows us to
      more naturally implement methods to get the real type and parent
      of a subbuffer (See #545501).
      It should also be slightly faster because there is no extra object hierarchy to
      initialize and free.
      67bd9529
  10. 25 Nov, 2009 1 commit
  11. 01 Sep, 2009 1 commit
  12. 12 Mar, 2009 1 commit
  13. 22 Feb, 2009 1 commit
    • Ali Sabil's avatar
      Convert unref/copy functions of GstMiniObject subclasses to static inline functions · 136cfb3b
      Ali Sabil authored
      unref and copy functions are sometimes used as function
      pointers for example in the case of g_hash_table_new_full
      as a GDestroyNotify function.
      
      Currently GstBuffer, GstEvent, GstMessage and GstQuery
      define their respective unref and copy functions as
      macros, making use of gst_mini_object_unref/copy.
      This approach works very well for most cases, except
      for some automatically generated bindings (currently Vala),
      where the memory management semantics are defined
      declaratively.
      
      The possible solutions would be to either convert all
      the macros into static inline function, or change the
      signature of gst_mini_object_unref to take a void*
      instead of a GstMiniObject*.
      
      Fixes bug #572480.
      136cfb3b
  14. 19 Feb, 2009 2 commits
  15. 18 Nov, 2008 1 commit
  16. 08 Oct, 2008 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstghostpad.c (gst_ghost_pad_construct): If we got a template via... · 83d3b5d8
      Andy Wingo Wingo authored
      gst/gstghostpad.c (gst_ghost_pad_construct): If we got a template via g_object_get(), be sure to unref it.
      
      Original commit message from CVS:
      2008-10-08  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
      template via g_object_get(), be sure to unref it.
      
      * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
      83d3b5d8
  17. 07 Oct, 2008 1 commit
  18. 06 Oct, 2008 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function that will be... · 267d0ba8
      Andy Wingo Wingo authored
      gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function that will be called on the malloc_data to free it. B...
      
      Original commit message from CVS:
      2008-10-06  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
      that will be called on the malloc_data to free it. Basically a way
      to avoid subclassing when all you need is a different free
      function, i.e. free() instead of g_free().
      
      * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
      calling the free function.
      (gst_buffer_init): Initialize the free function to g_free.
      267d0ba8
  19. 02 Nov, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/: Move declaration of private _gst_foo_initialize() functions into our... · 4e121ae1
      Tim-Philipp Müller authored
      gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have...
      
      Original commit message from CVS:
      * gst/gst_private.h:
      * gst/gstbuffer.h:
      * gst/gstevent.h:
      * gst/gstformat.h:
      * gst/gstmessage.h:
      * gst/gstplugin.h:
      * gst/gstquery.h:
      * gst/gsttaglist.h:
      * gst/gstvalue.h:
      Move declaration of private _gst_foo_initialize() functions into
      our private header file where they should have been all along.
      4e121ae1
  20. 15 Oct, 2007 1 commit
    • Stefan Kost's avatar
      gst/gstbuffer.h: Define GST_BUFFER_FLAG_GAP more strictly to enable... · de997d56
      Stefan Kost authored
      gst/gstbuffer.h: Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based on it. Fix docs for GST_BUFFE...
      
      Original commit message from CVS:
      * gst/gstbuffer.h:
      Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
      on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
      de997d56
  21. 07 Aug, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstbuffer.h: Remove comma from last element in enum to avoid compile... · d04a298f
      Wim Taymans authored
      gst/gstbuffer.h: Remove comma from last element in enum to avoid compile errors when using -pendantic. Fixes #464366.
      
      Original commit message from CVS:
      Patch by: <arenevier at fdn dot fr>
      * gst/gstbuffer.h:
      Remove comma from last element in enum to avoid compile errors when
      using -pendantic. Fixes #464366.
      d04a298f
  22. 26 Apr, 2007 1 commit
  23. 09 Mar, 2007 1 commit
    • Wim Taymans's avatar
      Add metadata copy functions. Fixes #393099. · db43de19
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
      * gst/gstbuffer.h:
      Add metadata copy functions. Fixes #393099.
      * gst/gstutils.c: (gst_buffer_stamp):
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_prepare_output_buffer):
      Use new metadata copy functions.
      db43de19
  24. 18 Oct, 2006 1 commit
  25. 17 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstbuffer.h: Fix gst_buffer_replace() macro to avoid... · c64c4fd0
      Tim-Philipp Müller authored
      gst/gstbuffer.h: Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related type-punned pointer warnings.
      
      Original commit message from CVS:
      * gst/gstbuffer.h:
      Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
      type-punned pointer warnings.
      c64c4fd0
  26. 23 Aug, 2006 1 commit
  27. 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
  28. 06 Jun, 2006 1 commit
  29. 10 May, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/: Make gtk-doc generate docs for our inlined gst_buffer_ref(),... · f2cee829
      Tim-Philipp Müller authored
      gst/: Make gtk-doc generate docs for our inlined gst_buffer_ref(), gst_event_ref() and gst_message_ref() functions ag...
      
      Original commit message from CVS:
      * gst/gstbuffer.h:
      * gst/gstevent.h:
      * gst/gstmessage.h:
      Make gtk-doc generate docs for our inlined gst_buffer_ref(),
      gst_event_ref() and gst_message_ref() functions again
      (ugly hack, please do fix if there's a better way besides
      overrides.txt, which doesn't seem to work).
      f2cee829
  30. 05 May, 2006 1 commit
  31. 21 Mar, 2006 1 commit
    • Edward Hervey's avatar
      gst/: gst_[buffer|event|message]_ref() macros are replaced by a static inline... · 067db774
      Edward Hervey authored
      gst/: gst_[buffer|event|message]_ref() macros are replaced by a static inline functions because gcc-4.1 will about if...
      
      Original commit message from CVS:
      * gst/gstbuffer.h:
      * gst/gstevent.h:
      * gst/gstmessage.h:
      gst_[buffer|event|message]_ref() macros are replaced by a static
      inline functions because gcc-4.1 will about if the return value
      isn't used.
      * tests/check/gst/gstevent.c: (event_probe):
      gst_event_ref now has to be given a GstEvent* , fix check accordingly.
      067db774
  32. 15 Mar, 2006 1 commit
    • Jan Schmidt's avatar
      gst/gstbuffer.h: Documentation fix. · 30643217
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstbuffer.h:
      Documentation fix.
      
      * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
      (gst_pad_accept_caps), (gst_pad_configure_sink),
      (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
      Make the default acceptcaps behaviour be to check the requested
      caps against the gst_pad_get_caps output.
      
      Ensure that gst_pad_accept_caps is used to check caps when a pad
      doesn't have a setcaps function, so that pads automatically refuse
      caps that they don't allow in their pad template. (Fixes #332986)
      
      When a buffer with attached caps is pushed, ensure that the source
      pad receives those caps even if the element didn't call
      gst_pad_set_caps first.
      30643217
  33. 07 Mar, 2006 1 commit
    • Wim Taymans's avatar
      Small documentation fixes. · 37d77aae
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbuffer.h:
      * gst/gstvalue.c:
      * libs/gst/base/gstbasetransform.h:
      Small documentation fixes.
      37d77aae
  34. 17 Jan, 2006 1 commit
    • Jan Schmidt's avatar
      Replace gst_buffer_(make|is)_metadata_writable patch now that the release is out. · 0c0d5462
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
      (gst_buffer_make_metadata_writable):
      * gst/gstbuffer.h:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_prepare_output_buf):
      * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
      * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
      Replace gst_buffer_(make|is)_metadata_writable patch now
      that the release is out.
      0c0d5462
  35. 16 Jan, 2006 2 commits
    • Jan Schmidt's avatar
      Back out patch until after the release. · 6876d64a
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstbuffer.c:
      * gst/gstbuffer.h:
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_prepare_output_buf):
      * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
      * tests/check/gst/gstbuffer.c: (gst_test_suite):
      Back out patch until after the release.
      6876d64a
    • Jan Schmidt's avatar
      gst/gstbuffer.*: Add gst_buffer_(is|make)_metadata_writable as analogues of... · c7506c8b
      Jan Schmidt authored
      gst/gstbuffer.*: Add gst_buffer_(is|make)_metadata_writable as analogues of gst_buffer_(is|make)_writable.
      
      Original commit message from CVS:
      Reviewed By: Andy Wingo
      
      * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
      (gst_buffer_make_metadata_writable):
      * gst/gstbuffer.h:
      Add gst_buffer_(is|make)_metadata_writable as analogues of
      gst_buffer_(is|make)_writable.
      
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_prepare_output_buf):
      * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
      Use name gst_buffer_(is|make)_metadata_writable functions.
      
      * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
      Test gst_buffer_(is|make)_metadata_writable
      
      (Closes: #324162)
      c7506c8b
  36. 20 Nov, 2005 1 commit
    • Wim Taymans's avatar
      Doc fixes. · 10a32af3
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbuffer.h:
      * gst/gstelement.c:
      * gst/gstformat.c:
      * gst/gstformat.h:
      * gst/gstindex.h:
      * gst/gstquery.c:
      * gst/gstquery.h:
      * gst/gstvalue.c:
      Doc fixes.
      10a32af3
  37. 19 Nov, 2005 1 commit
  38. 10 Nov, 2005 1 commit
    • Wim Taymans's avatar
      check/gst/gstghostpad.c: Added check for bug #317341 · 8bf3884c
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
      Added check for bug #317341
      
      * gst/gstbuffer.c:
      * gst/gstbuffer.h:
      Some more spiffifying.
      
      * gst/gstghostpad.c: (gst_ghost_pad_do_link):
      Call peer linkfunction if we are a source pad. Totally fixes
      #317341
      
      * gst/gstpad.c:
      Update docs, source pads should call the peer linkfunction
      so they can atomically perform the pad link.
      8bf3884c