Ported to Gstreamer-1.0