adapter: avoid comparisions in fast path
adapter: avoid comparisions in fast path

Small tweaks to reduce the number of useless compares in loops.

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