1. 29 Aug, 2011 2 commits
    • 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
    • Wim Taymans's avatar
      41455989
  2. 25 Aug, 2011 1 commit
  3. 16 Aug, 2011 2 commits
  4. 10 Aug, 2011 1 commit
  5. 08 Aug, 2011 1 commit
  6. 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
  7. 15 Jul, 2011 1 commit
  8. 12 Jul, 2011 3 commits
    • Wim Taymans's avatar
      buffer: fix resize function some more · 1a3f48f4
      Wim Taymans authored
      Don't remove memory blocks from the buffer when we clip and resize, instead set
      the memory offset and size to 0. This allows us to make the buffer larger again
      later.
      1a3f48f4
    • Wim Taymans's avatar
      buffer: improve size handling · a19baf77
      Wim Taymans authored
      Also handle the case where multiple empty memory blocks are in the buffer.
      Add unit test for this.
      a19baf77
    • Wim Taymans's avatar
      buffer: fix _resize some more · a5ee20db
      Wim Taymans authored
      Add more debug.
      Alow resize to 0 bytes.
      Do clipping correctly.
      Add more unit tests. Also add a failing test: when we resize to 0 and then
      try to resize back to the original size it fails because the memory was
      removed.
      a5ee20db
  9. 11 Jul, 2011 4 commits
  10. 08 Jul, 2011 1 commit
  11. 07 Jul, 2011 1 commit
  12. 06 Jul, 2011 1 commit
  13. 22 Jun, 2011 1 commit
  14. 19 Jun, 2011 1 commit
  15. 13 Jun, 2011 3 commits
  16. 10 Jun, 2011 3 commits
    • Wim Taymans's avatar
      buffer: add support for buffer in memory · eeb07b3f
      Wim Taymans authored
      Fix the code to support allocating the buffer and memory in one memory block.
      Add an extra variable to store the memory of the buffer.
      This code is disabled still because of complications.
      eeb07b3f
    • Wim Taymans's avatar
      memory: respect configured alignment · 17ff81fc
      Wim Taymans authored
      Move the alignment from GstBuffer to GstMemory.
      make sure memory is at least aligned to the configured values.
      17ff81fc
    • Wim Taymans's avatar
      buffer: make new _buffer_allocate method · b27ee30a
      Wim Taymans authored
      Make a new method to allocate a buffer + memory that takes the allocator and the
      alignment as parameters. Provide a macro for the old method but prefer to use
      the new method to encourage plugins to negotiate the allocator properly.
      b27ee30a
  17. 09 Jun, 2011 1 commit
  18. 07 Jun, 2011 1 commit
    • Wim Taymans's avatar
      memory: use allocators to allocate memory · acb3ee9b
      Wim Taymans authored
      Rename the GstMemoryImpl to GstMemoryAllocator because that's really what it is.
      Add an alloc vmethod to the allocator members.
      Improve registration of allocators.
      Add methods to get and set the default allocator
      Always use an allocator to allocate memory, use the default allocator when NULL
      is passed.
      Add user_data to the allocator Info so that we can pass extra info to the
      allocator new method.
      acb3ee9b
  19. 02 Jun, 2011 1 commit
  20. 09 May, 2011 2 commits
  21. 08 May, 2011 1 commit
  22. 05 May, 2011 1 commit
  23. 04 May, 2011 1 commit
  24. 19 Apr, 2011 1 commit
  25. 11 Apr, 2011 1 commit
  26. 07 Apr, 2011 1 commit
  27. 06 Apr, 2011 1 commit
  28. 30 Mar, 2011 1 commit