fork from GStreamer ugly 1.0