When scheduling a group, check that its not the group thats currently in the top of the runqueue.
When scheduling a group, check that its not the group thats currently in the top of the runqueue.

Original commit message from CVS:
When scheduling a group, check that its not the group thats currently in the
top of the runqueue.

Then, when scheduling a different group, disable the first group and search for the next enabled group to run. Stops deadlocking in loop based elements.

Also remove the g_list_length's from the debugging statements for a bit of speed

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