adapter: optimize _take() a little more
adapter: optimize _take() a little more

When we have already assembled some data before, reuse this data and only copy
the part that is new.

Lachann/gstreamer,krichter722/gstreamer,lovebug356/gstreamer,surround-io/gstreamer,justinjoy/gstreamer,mparis/gstreamer,cfoch/gstreamer,ahmedammar/platform_external_gst_gstreamer,krieger-od/gstreamer,justinjoy/gstreamer,krichter722/gstreamer,mrchapp/gstreamer,ylatuya/gstreamer,StreamUtils/gstreamer,lovebug356/gstreamer,krieger-od/gstreamer,mrchapp/gstreamer,StreamUtils/gstreamer,collects/gstreamer,ylatuya/gstreamer,drothlis/gstreamer,cfoch/gstreamer,cablelabs/gstreamer,ensonic/gstreamer,jpxiong/gstreamer,krieger-od/gstreamer,mrchapp/gstreamer,ahmedammar/platform_external_gst_gstreamer,collects/gstreamer,Lachann/gstreamer,mparis/gstreamer,cablelabs/gstreamer,cfoch/gstreamer,surround-io/gstreamer,lubosz/gstreamer,krichter722/gstreamer,ensonic/gstreamer,collects/gstreamer,drothlis/gstreamer,justinjoy/gstreamer,lubosz/gstreamer,lovebug356/gstreamer,krichter722/gstreamer,jpxiong/gstreamer,Distrotech/gstreamer,centricular/gstreamer,Distrotech/gstreamer,lovebug356/gstreamer,shelsonjava/gstreamer,collects/gstreamer,magcius/gstreamer,collects/gstreamer,StreamUtils/gstreamer,krichter722/gstreamer,ensonic/gstreamer,krieger-od/gstreamer,Distrotech/gstreamer,centricular/gstreamer,shelsonjava/gstreamer,ylatuya/gstreamer,magcius/gstreamer,drothlis/gstreamer,lubosz/gstreamer,shelsonjava/gstreamer,cfoch/gstreamer,ylatuya/gstreamer,mparis/gstreamer,cablelabs/gstreamer,ylatuya/gstreamer,jpakkane/gstreamer,mparis/gstreamer,StreamUtils/gstreamer,ahmedammar/platform_external_gst_gstreamer,StreamUtils/gstreamer,cablelabs/gstreamer,magcius/gstreamer,drothlis/gstreamer,jpakkane/gstreamer,shelsonjava/gstreamer,surround-io/gstreamer,ahmedammar/platform_external_gst_gstreamer,lubosz/gstreamer,Distrotech/gstreamer,Lachann/gstreamer,centricular/gstreamer,jpxiong/gstreamer,mrchapp/gstreamer,ahmedammar/platform_external_gst_gstreamer,surround-io/gstreamer,mrchapp/gstreamer,Lachann/gstreamer,Distrotech/gstreamer,ensonic/gstreamer,cfoch/gstreamer,magcius/gstreamer,magcius/gstreamer,jpxiong/gstreamer,jpxiong/gstreamer,jpakkane/gstreamer,jpakkane/gstreamer,surround-io/gstreamer,krieger-od/gstreamer,justinjoy/gstreamer,jpakkane/gstreamer,mparis/gstreamer,drothlis/gstreamer,centricular/gstreamer,lovebug356/gstreamer,centricular/gstreamer,ensonic/gstreamer,cablelabs/gstreamer,shelsonjava/gstreamer,lubosz/gstreamer,Lachann/gstreamer,justinjoy/gstreamer