mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
imagefreeze: Forward latency queries to upstream
Without this, latency queries to imagefreeze will fail.
This commit is contained in:
parent
b910ecca68
commit
6fe40c92bf
1 changed files with 7 additions and 0 deletions
|
@ -491,6 +491,13 @@ gst_image_freeze_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case GST_QUERY_LATENCY:
|
||||||
|
/* 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);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue