From e589a950c3ee9418f37ed65fbc771027edd457d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 30 Jun 2020 18:37:06 +0300 Subject: [PATCH] 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: --- gst/imagefreeze/gstimagefreeze.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/imagefreeze/gstimagefreeze.c b/gst/imagefreeze/gstimagefreeze.c index 12d83b249b..7b8e4baad4 100644 --- a/gst/imagefreeze/gstimagefreeze.c +++ b/gst/imagefreeze/gstimagefreeze.c @@ -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;