Skip to content

rtp/gir: Manually implement RtpHeaderExtension read() and write()

Marijn Suijten requested to merge MarijnS95/gstreamer-rs:rtp-read-write into master

The array size is now provided since 1, yet mutability and *Ref makes it impossible to generate these functions properly. Implement them by hand.


Also include a small conversion to Rust 1.53's nested or_patterns in the examples, which is the only use found thus far.

Edited by Marijn Suijten

Merge request reports