Revert "Disable NXP modification that produces non compliant buffers."

By using the original upstream code paths we exposed the shader bug
converting from YUY2 to RGBA. This bypasses that bug, but reintroduces
the previously encountered conversion bugs. Those can be worked around
in different ways, so reverting this for now until the shader issue is
resolved.

One workaround is to use "glcolorconvert disable-passthrough=true".
disable-passthrough is not a standard property, added by NXP.

This reverts commit e85b8bc254d5f3e294bc0a7f134ba9ef7831756b.

Change-Id: I14c37b4bb500d439c308abeb36dded2d0fa3740b
diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c
index c01b64c..ed5e54b 100644
--- a/gst-libs/gst/gl/gstglupload.c
+++ b/gst-libs/gst/gl/gstglupload.c
@@ -522,6 +522,7 @@
         _set_caps_features_with_passthrough (caps,
         GST_CAPS_FEATURE_MEMORY_GL_MEMORY, passthrough);
 
+    gst_caps_set_simple (ret, "format", G_TYPE_STRING, "RGBA", NULL);
     tmp = _caps_intersect_texture_target (ret, 1 << GST_GL_TEXTURE_TARGET_2D);
     gst_caps_unref (ret);
     ret = tmp;
@@ -774,7 +775,7 @@
   }
 
   out_fmt = GST_VIDEO_INFO_FORMAT (&dmabuf->upload->priv->out_info);
-  if (FALSE) {
+  if (out_fmt == GST_VIDEO_FORMAT_RGBA) {
     /* Now create one single EGLImage */
     /* check if one is cached */
     dmabuf->eglimage[0] = _get_cached_eglimage (mems[0], 0);