Paused to playing state change is slow after long runs.

lukas-l lorentzon.lukas at gmail.com
Fri Dec 9 08:52:56 UTC 2016


Hello!

I have Gstreamer pipeline with a couple of source elements and a alsasink.
After a long while (~15 hours) in paused state the state change from paused
to playing takes about 20 seconds. Note that in this state the state change
from paused to playing continues to take a long time. The only way to
recover from this is to restart the Gstreamer application. I cannot figure
out why the state change is so slow after long runs. The state changes are
not slow at start of the application and neither after a couple of hours of
usage. Anyone with an idea what may be the cause behind this behavior?

*Example of pipeline construction.*
audiotestsrc ! audioconvert ! audioresample ! queue
                                                                                        
! adder ! alsasink sync=true
<other sources> ! volume ! audioconvert ! audioresample ! queue

Some sources will eventually be depleted and when that happens they are
removed and a source elements are attached to the pipeline.

*Ideas:*
* Could the clock be the cause? Could this be tested by setting sync=false?

GST_DEBUG=*:3 does not produce any errors after longs runs either.

Regards
Lukas Lorentzon



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Paused-to-playing-state-change-is-slow-after-long-runs-tp4681104.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list