No way to specify type GST_TYPE_FRACTION
In Vala, there's nothing I could find to specify the type GST_TYPE_FRACTION
for a Gts.Caps
object.
I wanted to replicate this C example:
GstCaps *caps = gst_caps_new_simple ("video/x-raw",
"framerate", GST_TYPE_FRACTION, 25, 2,
NULL);
in Vala, but can't find a variable/class tat represents the fraction value (Gst.Fraction doesn't work)
Gst.Caps framerateCaps = new Gst.Caps.simple("video/x-raw", "framerate", ??????, 25, 2);