pad: Set caps on pad before checking if the pad is linked
pad: Set caps on pad before checking if the pad is linked

This allows the setcaps handler and notify::caps to link
the pad downstream and doesn't require hacks to always
provide a peer to the pad, like in decodebin2.

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