mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
tests: Minor assertion enahncements
This commit is contained in:
parent
ad4eb9a065
commit
e6a270c80c
1 changed files with 7 additions and 4 deletions
|
@ -129,10 +129,13 @@ GST_START_TEST (test_tempochange)
|
|||
}
|
||||
}
|
||||
|
||||
fail_if (((NleObject *) source1)->media_duration_factor != 1.0f);
|
||||
fail_if (((NleObject *) source1)->recursive_media_duration_factor != 2.0f);
|
||||
fail_if (((NleObject *) oper)->media_duration_factor != 2.0f);
|
||||
fail_if (((NleObject *) oper)->recursive_media_duration_factor != 2.0f);
|
||||
fail_unless_equals_float (((NleObject *) source1)->media_duration_factor,
|
||||
1.0f);
|
||||
fail_unless_equals_float (((NleObject *)
|
||||
source1)->recursive_media_duration_factor, 2.0f);
|
||||
fail_unless_equals_float (((NleObject *) oper)->media_duration_factor, 2.0f);
|
||||
fail_unless_equals_float (((NleObject *)
|
||||
oper)->recursive_media_duration_factor, 2.0f);
|
||||
|
||||
GST_DEBUG ("Setting pipeline to READY");
|
||||
|
||||
|
|
Loading…
Reference in a new issue