Regressions in GStreamer VAPI
By the e1f0316b commit, the VAPI's corresponding to gst_video_info_from_caps
, gst_audio_info_from_caps
, etc changed in a backward-incompatible way. Furthermore, the new VAPI defining the Gst.*.Info
argument as out
is incorrect. Gstreamer expects these structures to be allocated elsewhere prior to passing to the respective functions. When used as it is now, the result is a segfault, obviously. E.g., see https://github.com/pdfpc/pdfpc/issues/594.
Overall, I believe the previous form of the API's (e.g., Gst.Video.from_caps(Gst.Caps caps)
) Gst.Caps is more in the spirit of Vala.