Closed
Description
First, if this is intentional the javadoc is wrong. None of the parameters can be null because they're primitives.
I believe the method is supposed to call GSTCLOCK_API.gst_clock_get_calibration
instead of GSTCLOCK_API.gst_clock_set_calibration
because this is the getter not the setter. This would allow null to be passed as the parameters would be arrays instead of primitives...
I believe this method is intended to modify arrays that a developer passes into the method so they can retrieve the calibration.
gst1-java-core/src/org/freedesktop/gstreamer/Clock.java
Lines 183 to 196 in 37e7555