TypeError: unknown type GstFraction when reading a GstStructure
This seems related to #280 (closed), but I'm using 3.32.2 (from flatpak) and this is still an issue.
I'm using the following code to get values from a GstStructure that is provided by a GstCaps object:
caps = # get a caps object from somewhere
for i in range(caps.get_size()):
cap_struct = caps.get_structure(i)
for n in range(cap_struct.n_fields()):
cap_struct.get_value(cap_struct.nth_field_name(n))
This fails with one of several TypeErrors. GstFraction, GstIntRange, and GstValueList are some of the types I've seen that are affected.