pub fn gstreamer_available() -> boolExpand description
Whether both gst-launch-1.0 and gst-discoverer-1.0 are on PATH
and runnable. Useful as a runtime guard for tests + production code
that wants to gracefully degrade when GStreamer isn’t installed.
Empirically: on GitHub Actions Ubuntu runners, the
gstreamer1.0-tools apt package installs successfully BUT the
resulting binaries are sometimes not findable from later cargo
nextest test processes (root cause: TBD). Tests that depend on
these binaries should call this and skip if it returns false,
matching the pattern in crates/decode/tests/gstreamer_integration.rs.
Note: prefer media::gstreamer::is_available (M-MEDIA.1) for new
code — it returns a structured media::gstreamer::GStreamerProbe
with PATH snapshot + per-binary version + per-plugin presence, which
is much easier to debug in CI than a bare bool. This helper is kept
for backwards compatibility with existing decode / preview / app
integration tests; cutover happens lazily as those tests are touched.