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

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-06-07 12:05:00 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-06-07 19:13:55 +0300
commitc65b3429ad5bae209575bc90b78f39b84d468264 (patch)
treee571c2d3b1f008afcfef1d5f32910ac60873dc66 /utils/togglerecord
parentb7e6e5cbc9f6f53c0a584034846aea1ecb6ea352 (diff)
Use MPL as license specifier for plugins only requiring GStreamer < 1.20
And use MPL-2.0 for all that require GStreamer 1.20 or newer. The new string is only allowed in 1.20 or newer and using it in older versions causes failure to load the plugin. All affected plugins are of course still MPL-2.0 licensed. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/374 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1235>
Diffstat (limited to 'utils/togglerecord')
-rw-r--r--utils/togglerecord/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/togglerecord/src/lib.rs b/utils/togglerecord/src/lib.rs
index e0cf7f1ef..dd251d4ad 100644
--- a/utils/togglerecord/src/lib.rs
+++ b/utils/togglerecord/src/lib.rs
@@ -26,7 +26,7 @@ gst::plugin_define!(
plugin_init,
concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")),
// FIXME: MPL-2.0 is only allowed since 1.18.3 (as unknown) and 1.20 (as known)
- "MPL-2.0",
+ "MPL",
env!("CARGO_PKG_NAME"),
env!("CARGO_PKG_NAME"),
env!("CARGO_PKG_REPOSITORY"),