Properly fix locking in the scheduler
Properly fix locking in the scheduler

Original commit message from CVS:
Properly fix locking in the scheduler

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