high cpu usage with leaky queue

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Sep 10 03:39:54 PDT 2013


On Tue, 2013-09-10 at 11:38 +0200, Erik Andresen wrote:

> Thanks for pointing that out. Indeed when replacing videotestsrc with
> v4l2src the cpu usage dropped.
> The part which I still do not understand: Why isn't the framerate of
> videotestsrc limited by the caps on its src pad?

It is "limited", if you look at the timestamps on the buffers, it's just
that it's not limited in real wall clock time.

However, compare:

gst-launch-1.0 videotestsrc ! fakesink silent=false -v

and

gst-launch-1.0 videotestsrc is-live=1 ! fakesink silent=false -v

Cheers
 -Tim



More information about the gstreamer-devel mailing list