Commit 20972ae6 authored by Vivia Nikolaidou's avatar Vivia Nikolaidou 🦆

Add DEVELOPMENT.md

To explain how the development process works (how to update the
bindings)
parent 3f875299
Pipeline #140373 passed with stages
in 8 minutes and 26 seconds
# 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
* In the GstVideo-1.0.gir file, the `GST_VIDEO_BUFFER_FLAG_ONEFIELD` and
`GST_VIDEO_FRAME_FLAG_ONEFIELD` flags are twice. This is a gir bug. Delete
the second one.
* If there is a new GStreamer version: Manually update `gst*/Cargo.toml` and
`gst*/build.rs` files. generator.py will mess these up.
* Run generator.py
* `git checkout gst*/Cargo.toml gst*/build.rs`
* Investigate the diff and fix any mess-ups
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment