allocator: improve fallback copy function
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 15 Feb 2013 12:08:18 +0000 (13:08 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 15 Feb 2013 12:13:40 +0000 (13:13 +0100)
commit7e222212a80a06cbc632e40568359b059a61f9dc
treea2f5fb881b414be551f80ed061d95b632e78cc7c
parentf34d5bfa0f762206b2ba17b7c5a220cf5e6230cf
allocator: improve fallback copy function

Only use the allocator of the copied memory when we can use the default
_alloc function on it. Otherwise we will have to use the default
allocator for the copy.
gst/gstallocator.c