diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-02-11 13:41:56 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-02-11 17:53:04 +0200 |
commit | 4a5ce862a2a36bd0ec20fe63a1b92731bc2ae205 (patch) | |
tree | 9fbceef4ca77a7430dfa2fec9f7c35aed320448a /gst | |
parent | ee8d67ef2c1ef968eddc8e71d6ac5f83688c125b (diff) |
Improve and fix LATENCY query handling
This now follows the design docs everywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=744106
Diffstat (limited to 'gst')
-rw-r--r-- | gst/gstquery.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstquery.c b/gst/gstquery.c index 38fc5c599..fa82ecade 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -413,6 +413,7 @@ gst_query_set_latency (GstQuery * query, gboolean live, GstStructure *structure; g_return_if_fail (GST_QUERY_TYPE (query) == GST_QUERY_LATENCY); + g_return_if_fail (GST_CLOCK_TIME_IS_VALID (min_latency)); structure = GST_QUERY_STRUCTURE (query); gst_structure_id_set (structure, |