GStreamer 1.18 and a new error. Trying to dispose element pipeline1, but it is in PLAYING instead of the NULL state.

Tim Müller tim at centricular.com
Tue Sep 22 23:11:04 UTC 2020


On Tue, 2020-09-22 at 22:06 +0200, Davide Perini wrote:

Hi,

> sometimes when Screen Capturing while gaming I have this error:---
> (ScreenGrabber:12792): GStreamer-CRITICAL **: 21:55:40.357:Trying to
> dispose element pipeline1, but it is in PLAYING instead of the NULL
> state.You need to explicitly set elements to the NULL state
> beforedropping the final reference, to allow them to clean up.This
> problem may also be caused by a refcounting bug in theapplication or
> some element.---
> Is this something that I can workaround?

No, it's something you need to debug and fix.
Could be a problem in GStreamer, but most likely is a
refcounting/ownership handling issue in your application,or you simply
don't set the pipeline to NULL state beforecleaning it up, as the
message states.
Cheers Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200923/a020a735/attachment.htm>


More information about the gstreamer-devel mailing list