value: fix can_intersect to behave like intersect
value: fix can_intersect to behave like intersect

Add a quick return if two types are the same. Change the check for the
intersection function to be the same as the one used in intersect(). The
later tries both directions.

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