basetransform: enable optimisation
basetransform: enable optimisation

When we have the same input as output caps, reuse the input caps object. After
the caps refcounting has been sorted out now, we can finally enable this
optimisation.

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