• 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
gstbuffer.c 38.8 KB