imagefreeze: Return TRUE from the LATENCY query handling

We always answer it successfully no matter what.

The default return value in the function is FALSE even if the code below
sets it again to FALSE.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/654>
This commit is contained in:
Sebastian Dröge 2020-06-30 18:37:06 +03:00
parent 3ad86bdf30
commit e589a950c3

View file

@ -576,6 +576,7 @@ gst_image_freeze_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
* can according to the negotiated framerate */
gst_query_set_latency (query, FALSE, 0, GST_CLOCK_TIME_NONE);
}
ret = TRUE;
break;
default:
ret = FALSE;