Forums - pipeline0 in PAUSED instead of the NULL state.

1 post / 0 new
pipeline0 in PAUSED instead of the NULL state.
Join Date: 19 Feb 21
Posts: 7
Posted: Tue, 2021-07-13 10:35

Often times when I try to launch the camera, I get the following error:

[email protected]:/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?


  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.