1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

moved some functions to cvutils

This commit is contained in:
ser1zw 2011-07-03 15:12:36 +09:00
parent 76f2933061
commit aaa0de3810
7 changed files with 199 additions and 170 deletions

View file

@ -283,7 +283,7 @@ rb_set_size(VALUE self, VALUE value)
result = cvSetCaptureProperty(CVCAPTURE(self), CV_CAP_PROP_FRAME_HEIGHT, height);
}
else
raise_compatible_typeerror(object, cCvSize::rb_class());
raise_compatible_typeerror(value, cCvSize::rb_class());
return DBL2NUM(result);
}