tests: Use a different rate in a segment test.
authorJan Schmidt <jan@centricular.com>
Mon, 17 Sep 2018 12:13:22 +0000 (22:13 +1000)
committerJan Schmidt <jan@centricular.com>
Mon, 17 Sep 2018 12:13:22 +0000 (22:13 +1000)
commit01758dcf6ad99b8e62108525614267ca2901e8bb
tree15b9277b8c8186e53fc4950817b281bbe80fe827
parentc81b2f620785ef48618b36f21e3ee84ad757aeb4
tests: Use a different rate in a segment test.

Using a rate of 1.1 in the test is causing the test to
fail on 32-bit because ceil(1.1 * 10) can round to 12.

Instead use a rate 2.0 that can be expressed as floating
point number and doesn't trigger the problem.

https://bugzilla.gnome.org/show_bug.cgi?id=797154
tests/check/gst/gstsegment.c