adapter: improve the flush function
adapter: improve the flush function

Remove a compare and branch from flush.

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