fix formatting, warnings and fix rift display detection.
fix formatting, warnings and fix rift display detection.

lubosz/gst-plugins-vr,lubosz/gst-plugins-vr,lubosz/gst-plugins-vr,lubosz/gst-plugins-vr