Gstreamer crashes with X11

Hi,
The pipeline looks not right. Please try the samples:
OpenCV Video Capture with GStreamer doesn't work on ROS-melodic - #3 by DaneLLL
[Gstreamer] nvvidconv, BGR as INPUT - #4 by DaneLLL