mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
analytics: add test for OD confidence level retrieval
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6017>
This commit is contained in:
parent
42227d7de3
commit
f1d2147ba8
1 changed files with 5 additions and 0 deletions
|
@ -576,6 +576,11 @@ GST_START_TEST (test_od_meta_fields)
|
|||
fail_unless (_h == h);
|
||||
fail_unless (_loc_conf_lvl == loc_conf_lvl);
|
||||
|
||||
_loc_conf_lvl = -200.0; // dirty this var by setting invalid value.
|
||||
gst_analytics_od_mtd_get_confidence_lvl (&od_mtd, &_loc_conf_lvl);
|
||||
|
||||
fail_unless (_loc_conf_lvl == loc_conf_lvl);
|
||||
|
||||
gst_buffer_unref (buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue