Patches and scripts for gstreamer