Raise exception if gstreamer elements cannot be created

Change-Id: I1e51e3db3829c8038dfb70b4d12a0a4a3a01ad1c