ppgst from libWarsaw-0.1.3, fixing for GStreamer 1.0