Commit 6fe40c92 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan
Browse files

imagefreeze: Forward latency queries to upstream

Without this, latency queries to imagefreeze will fail.
parent b910ecca
......@@ -491,6 +491,13 @@ gst_image_freeze_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
ret = TRUE;
/* This will only return an accurate latency for the first buffer since
* all further buffers outputted by us are just copies of that one, and
* the latency is 0 in that case. However, latency changes are not
* straightforward, so let's do the conservative fix for now. */
ret = gst_pad_query_default (pad, parent, query);
ret = FALSE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment