Hi,
Please run the command to ensure the source can generate MJPEG frame data:
$ gst-launch-1.0 v4l2src device=/dev/video0 ! image/jpeg,width=1920,height=1080 ! fakesink
If it does not work, please execute $ v4l2-ctl --list-formats-ext to confirm MJPEG is supported.