Improper colour conversion using glcolorconvert

Hi,

My requirement is to use the following GStreamer pipeline to access the GLmemory. While using glcolorconvert in the GStreamer pipeline, I’m getting a pinkish issue.

gst-launch-1.0 videotestsrc pattern=13 ! video/x-raw ,format=YUY2,width=2592,height=1944 ! glupload ! glcolorconvert ! video/x-raw\(memory:GLMemory\),format=RGBA ! glimagesink -v

I tried in both Xavier and Nano, getting the same pinkish issue while using videotestsrc or v4l2src. I’m attaching issue_image for your reference.

Note: Gstreamer version 1.14.5

If I use the same GStreamer pipeline in PC or Orin kit, I’m getting a proper pattern image

Hope for better guidance to solve this issue.

Regards,
Bala