gst-python: Gst.ValueArray.append_value() does not have any effect
import gi
gi.require_version('Gst', '1.0')
from gi.repository import Gst
if __name__ == '__main__':
Gst.init([])
array = Gst.ValueArray([])
Gst.ValueArray.append_value(array, 12)
print(type(array)) # <class 'gi.overrides.Gst.ValueArray'>
print("get_size", Gst.ValueArray.get_size(array)) # get_size 0
Creating the value array with elements in the constructor works fine though.