Gstreamer 1.0: Fix injection tests
Done statement: We can run injection tests for their full duration in python 3
Currently my injection test script (here: /fred/oz996/tdavies/spiir_project/sources/testing/setup_inj_8000_py3
) fails when trying to set the segment-list property on gstlal_segmentsrc.c
. It's constructed with mksegmentsrc
in mkbasicsrc
, in datasource.py
.
It seems that it's making a class that's essentially a tuple: segment. It makes a list of those, then sends it off to gstreamer.
gstlal_segmentsrc
uses the now deprecated GObject.ValueArray to set it. I Think this can be replaced with GArray, but gstlal seem to switch versions for GObject to cope? (There's a bug report they filed, can't find it now though, you need to google the error message)
So this should be a case of using the new GArrays instead of ValueArrays, but in the worst case we need to ask gstlal what they did.