queue2: Avoid re-checking many times whether an item is a buffer
queue2: Avoid re-checking many times whether an item is a buffer

Avoids calling 6 times gst_buffer_get_type() for every item coming
through queue2

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