New version tag for gst_adapter_distance_from_discont broke older gstreamer-rs builds
I believe last Friday's gstreamer-rs-sys code generation update (b227a77c) broke building older versions of gstreamer-rs. That update added a v1_10 tag to the gst_adapter_distance_from_discont function, so if your version of gstreamer-rs lacks the matching code generation update commit (gstreamer-rs@8dfbc9e8) then the build will fail due to this function being missing:
error[E0425]: cannot find function `gst_adapter_distance_from_discont` in crate `gst_base_sys`
--> /home/vagrant/rust32/cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/85f9875/gstreamer-base/src/auto/adapter.rs:52:32
|
52 | unsafe { gst_base_sys::gst_adapter_distance_from_discont(self.to_glib_none().0) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `gst_base_sys`
error: aborting due to previous error
I can't immediately tell why this function received the v1_10 tag. It seems to exist with the same signature in my gstreamer version (1.16.2) and gstreamer-rs built just fine before this update to gstreamer-rs-sys. Is this correctly tagged?