Port to GStreamer 1.2

Change-Id: I0a86a5449600df8574eff6f831ce1591d8dd29db