mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-14 19:35:39 +00:00
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>
This commit is contained in:
parent
50616ad293
commit
30e9133cfa
1 changed files with 2 additions and 2 deletions
|
@ -4118,7 +4118,7 @@ GST_START_TEST (test_rate_effects_duration_limit)
|
||||||
|
|
||||||
_assert_set_rate (videorate, "rate", 0.1, dval);
|
_assert_set_rate (videorate, "rate", 0.1, dval);
|
||||||
assert_equals_int (limit_notify_count, 6);
|
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_equals_int (limit_notify_count, 7);
|
||||||
_assert_duration_limit (clip, 256);
|
_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, "rate", 0.5, fval);
|
||||||
_assert_rate_equal (pitch, "tempo", 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_equals_int (limit_notify_count, 8);
|
||||||
_assert_set_rate (videorate, "rate", 0.5, dval);
|
_assert_set_rate (videorate, "rate", 0.5, dval);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue