Port to GStreamer 1.0. Also backports some recorder bugfixes

I just forwarded this patch, I'm not the author. Works fine on Arch Linux.