ruby-gnome2/ruby-gnome2 — Issue #89: GStreamer: test_fraction_range_new test fails
Author: mtasaka
Created: 2011-12-29 17:36:54+00:00
State: open

With the latest git and ruby-gstreamer 1.0.3, test_fraction_range_new test fails like:

GStreamer-CRITICAL **: gst_value_set_fraction_range: assertion `gst_util_fraction_compare (start->data[0].v_int, start->data[1].v_int, end->data[0].v_int, end->data[1].v_int) < 0' failed

F

Failure:
test_fraction_range_new(TestValue) [/home/tasaka1/rpmbuild/TEMP/ruby-gnome2/ruby-gnome2/gstreamer/test/test_value.rb:35]:
<"[ 2/1, 3/4 ]"> expected but was
<"[ 0/1, 0/1 ]">.

diff:
- [ 2/1, 3/4 ]
? ^ ^ ^
+ [ 0/1, 0/1 ]
? ^ ^ ^
Looks like 2/1 should be 1/2, for example. (2/1 > 3/4, while 1/2 < 3/4)