diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-06-30 18:37:06 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-06-30 18:37:06 +0300 |
commit | e589a950c3ee9418f37ed65fbc771027edd457d8 (patch) | |
tree | 74dd31cb7bc7e513bb1c6a21b8d86516e626a94d /gst | |
parent | 3ad86bdf304588376ac038a495ea242846096b6e (diff) |
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>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/imagefreeze/gstimagefreeze.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/imagefreeze/gstimagefreeze.c b/gst/imagefreeze/gstimagefreeze.c index 12d83b249..7b8e4baad 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; |