ported to gstreamer 1.0