gstreamer-rs/DEVELOPMENT.md

536 B

How to update the bindings

  • Take the updated .gir files (e.g. from your gst-build checkout) and put them in the gir-files directory
  • In the gir-files directory, run ./fix.sh
  • If there is a new GStreamer version: Manually update gst*/Cargo.toml
  • Run generator.py
  • Investigate the diff, fix any mess-ups, look at commented functions and implement them manually
  • cargo build
  • for f in (ls |grep gstreamer); cd $f; cargo build --features v1_18; cd ..; end (or with the new version you just added)