<html><head></head><body><div>On Sun, 2022-12-04 at 15:52 +0200, Mattias Nordstrom via gstreamer-devel wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I'm trying to make a small self contained binary in Rust using GStreamer and a couple of plugins. Can the Rust bindings already somehow utilize a gstreamer-full static compilation? If not, are there any other ways to make a self-contained binary that is smallish? Primary target is Windows.</div></div></blockquote><div><br></div><div>Theoretically this works, but there seems to be a bug currently that prevents it from working successfully with gobject-introspection:</div><div>    <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/262">https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/262</a></div><div>I think if you disable gobject-introspection then it will work correctly.</div><div><br></div><div>If I understand you correctly, you're writing your application in Rust? In that case you can directly depend on the Rust plugins in your Cargo.toml and statically link them that way, which depending on the plugin also gives you direct access to some more API (e.g. enum types).</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote><div><br></div><div><span><pre>-- <br></pre><div><div><span style="font-family: Calibri, sans-serif; font-size: 14.666667px;">Sebastian Dröge, Centricular Ltd · </span><a href="https://www.centricular.com/" title="Click to open https://www.centricular.com/" style="color: rgb(0, 0, 238); font-family: Calibri, sans-serif; font-size: 14.666667px;">https://www.centricular.com</a></div></div></span></div></body></html>