gst_query_parse_latency

Arnaud Loonstra arnaud at sphaero.org
Thu May 15 04:50:17 PDT 2014


Could anybody elaborate on how to use the 'gst_query_parse_latency'?

I'm trying to query the latency of the pipeline but I always get the 
same result no matter the pipeline.

I have simple pipeline of: v4l2src ! caps ! autovideosink

I've added a method to query the latency every 2 secs.

g_timeout_add (2000, (GSourceFunc) cb_print_latency, pipeline);

But the output is always:

minlat: 0:00:00.033333333/ maxlat: 0:00:00.133333332

Code: http://pastebin.com/H1vqgGXA

Rg,

Arnaud
-- 
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25


More information about the gstreamer-devel mailing list