diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-07-14 10:20:32 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2020-07-14 10:20:32 +0200 |
commit | 30e9133cfabf6b6f306d083c14c7de2b0e2e6a1c (patch) | |
tree | 930c805345c06dd65c742e77535af662e1dedca2 | |
parent | 50616ad2932482d831f1c7c1a0f8afcf2ec4a7f0 (diff) | |
download | gstreamer-30e9133cfabf6b6f306d083c14c7de2b0e2e6a1c.tar.gz |
tests: clip: fix test_rate_effects_duration_limit
Fix this assertion:
g_value_copy: assertion 'g_value_type_compatible (G_VALUE_TYPE (src_value), G_VALUE_TYPE (dest_value))' failed
'tempo' is a float, not a double.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/199>
-rw-r--r-- | tests/check/ges/clip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/ges/clip.c b/tests/check/ges/clip.c index 9e034b164a..d2d0368dba 100644 --- a/tests/check/ges/clip.c +++ b/tests/check/ges/clip.c @@ -4118,7 +4118,7 @@ GST_START_TEST (test_rate_effects_duration_limit) _assert_set_rate (videorate, "rate", 0.1, dval); assert_equals_int (limit_notify_count, 6); - _assert_set_rate (pitch, "tempo", 0.5, dval); + _assert_set_rate (pitch, "tempo", 0.5, fval); assert_equals_int (limit_notify_count, 7); _assert_duration_limit (clip, 256); @@ -4133,7 +4133,7 @@ GST_START_TEST (test_rate_effects_duration_limit) _assert_rate_equal (pitch, "rate", 0.5, fval); _assert_rate_equal (pitch, "tempo", 0.5, fval); - _assert_set_rate (pitch, "tempo", 1.0, dval); + _assert_set_rate (pitch, "tempo", 1.0, fval); assert_equals_int (limit_notify_count, 8); _assert_set_rate (videorate, "rate", 0.5, dval); |