queue2: Fix bugs
queue2: Fix bugs

update_buffering () needs to be called every time we write to the ring
buffer so that applications don't get stuck waiting for a 100% buffered
message while queue2 is waiting for space

_create_write () must only be called for temp file/ring buffer cases

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