Updated for GStreamer 1.0