WIP: porting to gstreamer 1.0