Skip to content

Fix direct access to the inner specific formatted values

François Laignel requested to merge fengalin/gst-plugins-rs:format-fixes into main

This is no longer available as this could lead to building a defined value in Rust which could be interpreted as undefined in C due to the sentinel u64::MAX for None.

Use the constants (e.g. ONE, K, M, ...) and operations to build a value and deref (*) to get the quantity as an integer.

See also gstreamer-rs!1121 (merged)

Merge request reports

Loading