Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-rs-sys gstreamer-rs-sys
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamer-rs-sysgstreamer-rs-sys
  • Issues
  • #22

Closed
Open
Created Jun 22, 2020 by Andrew Eikum@aeikum

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?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking