[0.6.275] change condition to support Gst 1.22.0