Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Farrell <micolous+git@gmail.com>2021-10-04 06:43:14 +0300
committerMichael Farrell <micolous+gh@gmail.com>2021-10-18 06:01:05 +0300
commitb0cebbedbc208c9d49fdc3c52d4e7f1860ec3d76 (patch)
tree62761229695322c8cbe4ce713406d52b3b75dc6e /README.md
parent70f0aa975801dbb1c5a0f11944f136b45925ecde (diff)
readme: Fix `GST_PLUGIN_PATH` instructions to include target triple.
This change also puts the `target/` directory first, for locally-built plugins to take priority over distribution-provided plugins. It also encloses the environment variable in quotes, in case it contains paths with spaces.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6067c130..5506383d 100644
--- a/README.md
+++ b/README.md
@@ -101,9 +101,11 @@ Then you can easily build and test a specific plugin:
```
$ cargo cbuild --manifest-path video/cdg/Cargo.toml
-$ GST_PLUGIN_PATH=$GST_PLUGIN_PATH:target/debug gst-inspect-1.0 cdgdec
+$ GST_PLUGIN_PATH="target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 cdgdec
```
+Replace `x86_64-unknown-linux-gnu` with your system's Rust target triple (`rustc -vV`).
+
The plugin can also be installed system-wide:
```