Often times when I try to launch the camera, I get the following error:
root@vs-drone-board:/data/camera# gst-launch-1.0 -e qtiqmmfsrc name=qmmf qmmf.video_0 ! video/x-h264,format=NV12,width=1920,height=1080,framerate=30/1 ! fakesink GBM_INFO::msmgbm_mapper(137)::gbm mapper instantiated gbm_create_device(156): Info: backend name is: msm_drm Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... ERROR: pipeline doesn't want to play. Setting pipeline to NULL ... Freeing pipeline ... (gst-launch-1.0:10173): GStreamer-CRITICAL **: 22:07:54.760: Trying to dispose element pipeline0, but it is in PAUSED instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.
I can generate that behavior by starting and immediately stoping the gst-launch command around 5 to 10 times in a row.
Do you have any idea why that occurs/how to fix it?