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>2022-01-15 22:18:47 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-01-15 22:44:40 +0300
commit574e4f6b647e796c56a16ff85429cd6e6f60c7cc (patch)
treec0e6b4bb748a6c571b7fde413b3ae8664f850c21
parent818a508ac51d3ff173a8bc3845e1305e72070430 (diff)
Add SPDX-License-Identifier to all file headers0.8.0
-rw-r--r--audio/claxon/src/claxondec/imp.rs2
-rw-r--r--audio/claxon/src/claxondec/mod.rs2
-rw-r--r--audio/claxon/src/lib.rs2
-rw-r--r--audio/claxon/tests/claxondec.rs2
-rw-r--r--audio/lewton/src/lewtondec/imp.rs2
-rw-r--r--audio/lewton/src/lewtondec/mod.rs2
-rw-r--r--audio/lewton/src/lib.rs2
-rw-r--r--audio/lewton/tests/lewtondec.rs2
-rw-r--r--generic/file/src/file_location.rs9
-rw-r--r--generic/file/src/filesink/imp.rs2
-rw-r--r--generic/file/src/filesink/mod.rs2
-rw-r--r--generic/file/src/filesrc/imp.rs2
-rw-r--r--generic/file/src/filesrc/mod.rs2
-rw-r--r--generic/file/src/lib.rs2
-rw-r--r--generic/threadshare/examples/benchmark.rs2
-rw-r--r--generic/threadshare/examples/tcpclientsrc_benchmark_sender.rs2
-rw-r--r--generic/threadshare/examples/udpsrc_benchmark_sender.rs2
-rw-r--r--generic/threadshare/src/appsrc/imp.rs2
-rw-r--r--generic/threadshare/src/appsrc/mod.rs2
-rw-r--r--generic/threadshare/src/dataqueue.rs2
-rw-r--r--generic/threadshare/src/inputselector/imp.rs2
-rw-r--r--generic/threadshare/src/inputselector/mod.rs2
-rw-r--r--generic/threadshare/src/jitterbuffer/ffi.rs2
-rw-r--r--generic/threadshare/src/jitterbuffer/imp.rs2
-rw-r--r--generic/threadshare/src/jitterbuffer/jitterbuffer.rs2
-rw-r--r--generic/threadshare/src/jitterbuffer/mod.rs2
-rw-r--r--generic/threadshare/src/proxy/imp.rs2
-rw-r--r--generic/threadshare/src/proxy/mod.rs2
-rw-r--r--generic/threadshare/src/queue/imp.rs2
-rw-r--r--generic/threadshare/src/queue/mod.rs2
-rw-r--r--generic/threadshare/src/runtime/pad.rs2
-rw-r--r--generic/threadshare/src/runtime/task.rs2
-rw-r--r--generic/threadshare/src/socket.rs2
-rw-r--r--generic/threadshare/src/tcpclientsrc/imp.rs2
-rw-r--r--generic/threadshare/src/tcpclientsrc/mod.rs2
-rw-r--r--generic/threadshare/src/udpsink/imp.rs2
-rw-r--r--generic/threadshare/src/udpsink/mod.rs2
-rw-r--r--generic/threadshare/src/udpsrc/imp.rs2
-rw-r--r--generic/threadshare/src/udpsrc/mod.rs2
-rw-r--r--generic/threadshare/tests/appsrc.rs2
-rw-r--r--generic/threadshare/tests/inputselector.rs2
-rw-r--r--generic/threadshare/tests/jitterbuffer.rs2
-rw-r--r--generic/threadshare/tests/pad.rs2
-rw-r--r--generic/threadshare/tests/pipeline.rs2
-rw-r--r--generic/threadshare/tests/proxy.rs2
-rw-r--r--generic/threadshare/tests/queue.rs2
-rw-r--r--generic/threadshare/tests/tcpclientsrc.rs2
-rw-r--r--generic/threadshare/tests/udpsink.rs2
-rw-r--r--generic/threadshare/tests/udpsrc.rs2
-rw-r--r--net/reqwest/src/lib.rs2
-rw-r--r--net/reqwest/src/reqwesthttpsrc/imp.rs2
-rw-r--r--net/reqwest/src/reqwesthttpsrc/mod.rs2
-rw-r--r--net/reqwest/tests/reqwesthttpsrc.rs2
-rw-r--r--tutorial/src/identity/imp.rs2
-rw-r--r--tutorial/src/identity/mod.rs2
-rw-r--r--tutorial/src/lib.rs2
-rw-r--r--tutorial/src/progressbin/imp.rs2
-rw-r--r--tutorial/src/progressbin/mod.rs2
-rw-r--r--tutorial/src/rgb2gray/imp.rs2
-rw-r--r--tutorial/src/rgb2gray/mod.rs2
-rw-r--r--tutorial/src/sinesrc/imp.rs2
-rw-r--r--tutorial/src/sinesrc/mod.rs2
-rw-r--r--version-helper/src/git.rs5
-rw-r--r--version-helper/src/lib.rs2
-rw-r--r--video/cdg/src/cdgdec/imp.rs2
-rw-r--r--video/cdg/src/cdgdec/mod.rs2
-rw-r--r--video/cdg/src/cdgparse/imp.rs2
-rw-r--r--video/cdg/src/cdgparse/mod.rs2
-rw-r--r--video/cdg/src/constants.rs2
-rw-r--r--video/cdg/src/lib.rs2
-rw-r--r--video/cdg/src/typefind.rs2
-rw-r--r--video/cdg/tests/cdgdec.rs2
-rw-r--r--video/dav1d/src/dav1ddec/imp.rs2
-rw-r--r--video/dav1d/src/dav1ddec/mod.rs2
-rw-r--r--video/dav1d/src/lib.rs2
-rw-r--r--video/ffv1/src/ffv1dec/imp.rs2
-rw-r--r--video/ffv1/src/ffv1dec/mod.rs2
-rw-r--r--video/ffv1/src/lib.rs2
-rw-r--r--video/ffv1/tests/ffv1dec.rs2
-rw-r--r--video/flavors/src/bytes.rs2
-rw-r--r--video/flavors/src/flvdemux/imp.rs2
-rw-r--r--video/flavors/src/flvdemux/mod.rs2
-rw-r--r--video/flavors/src/lib.rs2
-rw-r--r--video/gif/examples/testvideosrc2gif.rs2
-rw-r--r--video/gif/src/gifenc/imp.rs2
-rw-r--r--video/gif/src/gifenc/mod.rs2
-rw-r--r--video/gif/src/lib.rs2
-rw-r--r--video/gif/tests/gifenc.rs2
-rw-r--r--video/hsv/src/hsvdetector/imp.rs2
-rw-r--r--video/hsv/src/hsvdetector/mod.rs2
-rw-r--r--video/hsv/src/hsvfilter/imp.rs2
-rw-r--r--video/hsv/src/hsvfilter/mod.rs2
-rw-r--r--video/hsv/src/hsvutils.rs2
-rw-r--r--video/hsv/src/lib.rs2
-rw-r--r--video/rav1e/src/lib.rs2
-rw-r--r--video/rav1e/src/rav1enc/imp.rs2
-rw-r--r--video/rav1e/src/rav1enc/mod.rs2
-rw-r--r--video/rav1e/tests/rav1enc.rs2
-rw-r--r--video/rspng/examples/pngenc.rs2
-rw-r--r--video/rspng/src/lib.rs2
-rw-r--r--video/rspng/src/pngenc/imp.rs2
-rw-r--r--video/rspng/src/pngenc/mod.rs2
-rw-r--r--video/rspng/tests/pngenc.rs2
103 files changed, 216 insertions, 0 deletions
diff --git a/audio/claxon/src/claxondec/imp.rs b/audio/claxon/src/claxondec/imp.rs
index 933f456f3..066b93807 100644
--- a/audio/claxon/src/claxondec/imp.rs
+++ b/audio/claxon/src/claxondec/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::subclass::prelude::*;
diff --git a/audio/claxon/src/claxondec/mod.rs b/audio/claxon/src/claxondec/mod.rs
index a9356ffc1..1b2a0ba79 100644
--- a/audio/claxon/src/claxondec/mod.rs
+++ b/audio/claxon/src/claxondec/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/audio/claxon/src/lib.rs b/audio/claxon/src/lib.rs
index 215d2c56d..1a0c82740 100644
--- a/audio/claxon/src/lib.rs
+++ b/audio/claxon/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/audio/claxon/tests/claxondec.rs b/audio/claxon/tests/claxondec.rs
index e231a5d93..0cd5063f5 100644
--- a/audio/claxon/tests/claxondec.rs
+++ b/audio/claxon/tests/claxondec.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::prelude::*;
diff --git a/audio/lewton/src/lewtondec/imp.rs b/audio/lewton/src/lewtondec/imp.rs
index 12041e22e..56e293f56 100644
--- a/audio/lewton/src/lewtondec/imp.rs
+++ b/audio/lewton/src/lewtondec/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::subclass::prelude::*;
diff --git a/audio/lewton/src/lewtondec/mod.rs b/audio/lewton/src/lewtondec/mod.rs
index a0e7731e1..319fc535e 100644
--- a/audio/lewton/src/lewtondec/mod.rs
+++ b/audio/lewton/src/lewtondec/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/audio/lewton/src/lib.rs b/audio/lewton/src/lib.rs
index b6e68a8ef..0e3b259dc 100644
--- a/audio/lewton/src/lib.rs
+++ b/audio/lewton/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/audio/lewton/tests/lewtondec.rs b/audio/lewton/tests/lewtondec.rs
index c26b1cb7d..559d9080f 100644
--- a/audio/lewton/tests/lewtondec.rs
+++ b/audio/lewton/tests/lewtondec.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::prelude::*;
diff --git a/generic/file/src/file_location.rs b/generic/file/src/file_location.rs
index 78a1f4df2..daad3b306 100644
--- a/generic/file/src/file_location.rs
+++ b/generic/file/src/file_location.rs
@@ -1,3 +1,12 @@
+// Copyright (C) 2016-2017 Sebastian Dröge <sebastian@centricular.com>
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use url::Url;
diff --git a/generic/file/src/filesink/imp.rs b/generic/file/src/filesink/imp.rs
index d1714e04d..8b0e9f055 100644
--- a/generic/file/src/filesink/imp.rs
+++ b/generic/file/src/filesink/imp.rs
@@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/generic/file/src/filesink/mod.rs b/generic/file/src/filesink/mod.rs
index d5fb310d4..3df7c1521 100644
--- a/generic/file/src/filesink/mod.rs
+++ b/generic/file/src/filesink/mod.rs
@@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/generic/file/src/filesrc/imp.rs b/generic/file/src/filesrc/imp.rs
index e038cd718..dab3b7088 100644
--- a/generic/file/src/filesrc/imp.rs
+++ b/generic/file/src/filesrc/imp.rs
@@ -6,6 +6,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/generic/file/src/filesrc/mod.rs b/generic/file/src/filesrc/mod.rs
index 5e7771585..7ad38da53 100644
--- a/generic/file/src/filesrc/mod.rs
+++ b/generic/file/src/filesrc/mod.rs
@@ -6,6 +6,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/generic/file/src/lib.rs b/generic/file/src/lib.rs
index a99d3d1b8..9d97d6288 100644
--- a/generic/file/src/lib.rs
+++ b/generic/file/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/generic/threadshare/examples/benchmark.rs b/generic/threadshare/examples/benchmark.rs
index 736d8c01c..33cc3a421 100644
--- a/generic/threadshare/examples/benchmark.rs
+++ b/generic/threadshare/examples/benchmark.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/examples/tcpclientsrc_benchmark_sender.rs b/generic/threadshare/examples/tcpclientsrc_benchmark_sender.rs
index 435ba2c2a..5881a87a9 100644
--- a/generic/threadshare/examples/tcpclientsrc_benchmark_sender.rs
+++ b/generic/threadshare/examples/tcpclientsrc_benchmark_sender.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use std::io::Write;
use std::sync::{Arc, Mutex};
diff --git a/generic/threadshare/examples/udpsrc_benchmark_sender.rs b/generic/threadshare/examples/udpsrc_benchmark_sender.rs
index 2993b4759..2377f6987 100644
--- a/generic/threadshare/examples/udpsrc_benchmark_sender.rs
+++ b/generic/threadshare/examples/udpsrc_benchmark_sender.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use std::net;
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
diff --git a/generic/threadshare/src/appsrc/imp.rs b/generic/threadshare/src/appsrc/imp.rs
index 8fcb51383..ec21fef67 100644
--- a/generic/threadshare/src/appsrc/imp.rs
+++ b/generic/threadshare/src/appsrc/imp.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::channel::mpsc;
use futures::future::BoxFuture;
diff --git a/generic/threadshare/src/appsrc/mod.rs b/generic/threadshare/src/appsrc/mod.rs
index 47de9f675..90f55d904 100644
--- a/generic/threadshare/src/appsrc/mod.rs
+++ b/generic/threadshare/src/appsrc/mod.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/src/dataqueue.rs b/generic/threadshare/src/dataqueue.rs
index 48f9d31da..e0bba4858 100644
--- a/generic/threadshare/src/dataqueue.rs
+++ b/generic/threadshare/src/dataqueue.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::future::{self, abortable, AbortHandle};
diff --git a/generic/threadshare/src/inputselector/imp.rs b/generic/threadshare/src/inputselector/imp.rs
index 2b9318244..3d5b48e04 100644
--- a/generic/threadshare/src/inputselector/imp.rs
+++ b/generic/threadshare/src/inputselector/imp.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::future::BoxFuture;
use futures::future::{abortable, AbortHandle};
diff --git a/generic/threadshare/src/inputselector/mod.rs b/generic/threadshare/src/inputselector/mod.rs
index 13eb2c82e..5b69afa02 100644
--- a/generic/threadshare/src/inputselector/mod.rs
+++ b/generic/threadshare/src/inputselector/mod.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/src/jitterbuffer/ffi.rs b/generic/threadshare/src/jitterbuffer/ffi.rs
index 5175316c7..debef4a65 100644
--- a/generic/threadshare/src/jitterbuffer/ffi.rs
+++ b/generic/threadshare/src/jitterbuffer/ffi.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use glib::ffi::{gboolean, gpointer, GList, GType};
use gst::glib;
diff --git a/generic/threadshare/src/jitterbuffer/imp.rs b/generic/threadshare/src/jitterbuffer/imp.rs
index 8c55236b6..d5800894f 100644
--- a/generic/threadshare/src/jitterbuffer/imp.rs
+++ b/generic/threadshare/src/jitterbuffer/imp.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::future::BoxFuture;
use futures::future::{abortable, AbortHandle, Aborted};
diff --git a/generic/threadshare/src/jitterbuffer/jitterbuffer.rs b/generic/threadshare/src/jitterbuffer/jitterbuffer.rs
index 3785ac0d7..24784246c 100644
--- a/generic/threadshare/src/jitterbuffer/jitterbuffer.rs
+++ b/generic/threadshare/src/jitterbuffer/jitterbuffer.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use super::ffi;
diff --git a/generic/threadshare/src/jitterbuffer/mod.rs b/generic/threadshare/src/jitterbuffer/mod.rs
index 579048853..9c37b31f0 100644
--- a/generic/threadshare/src/jitterbuffer/mod.rs
+++ b/generic/threadshare/src/jitterbuffer/mod.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/src/proxy/imp.rs b/generic/threadshare/src/proxy/imp.rs
index 9f4fdd2a0..dcde7fa1c 100644
--- a/generic/threadshare/src/proxy/imp.rs
+++ b/generic/threadshare/src/proxy/imp.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::channel::oneshot;
use futures::future::BoxFuture;
diff --git a/generic/threadshare/src/proxy/mod.rs b/generic/threadshare/src/proxy/mod.rs
index 4351ff7d9..f1ee96ac3 100644
--- a/generic/threadshare/src/proxy/mod.rs
+++ b/generic/threadshare/src/proxy/mod.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/src/queue/imp.rs b/generic/threadshare/src/queue/imp.rs
index b01c03711..a9d01e28e 100644
--- a/generic/threadshare/src/queue/imp.rs
+++ b/generic/threadshare/src/queue/imp.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::channel::oneshot;
use futures::future::BoxFuture;
diff --git a/generic/threadshare/src/queue/mod.rs b/generic/threadshare/src/queue/mod.rs
index 5fc0e57c3..1a5aba033 100644
--- a/generic/threadshare/src/queue/mod.rs
+++ b/generic/threadshare/src/queue/mod.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/src/runtime/pad.rs b/generic/threadshare/src/runtime/pad.rs
index b0fc816e9..f4113c652 100644
--- a/generic/threadshare/src/runtime/pad.rs
+++ b/generic/threadshare/src/runtime/pad.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
//! An implementation of `Pad`s to run asynchronous processings.
//!
diff --git a/generic/threadshare/src/runtime/task.rs b/generic/threadshare/src/runtime/task.rs
index c0fcb4690..2bd4e1b42 100644
--- a/generic/threadshare/src/runtime/task.rs
+++ b/generic/threadshare/src/runtime/task.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
//! An execution loop to run asynchronous processing.
diff --git a/generic/threadshare/src/socket.rs b/generic/threadshare/src/socket.rs
index 0e544c3e4..e1b24a2bf 100644
--- a/generic/threadshare/src/socket.rs
+++ b/generic/threadshare/src/socket.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::future::BoxFuture;
diff --git a/generic/threadshare/src/tcpclientsrc/imp.rs b/generic/threadshare/src/tcpclientsrc/imp.rs
index 69cef3c56..52ad7d491 100644
--- a/generic/threadshare/src/tcpclientsrc/imp.rs
+++ b/generic/threadshare/src/tcpclientsrc/imp.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
diff --git a/generic/threadshare/src/tcpclientsrc/mod.rs b/generic/threadshare/src/tcpclientsrc/mod.rs
index 7e8d12aa8..d61ff3dfd 100644
--- a/generic/threadshare/src/tcpclientsrc/mod.rs
+++ b/generic/threadshare/src/tcpclientsrc/mod.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/src/udpsink/imp.rs b/generic/threadshare/src/udpsink/imp.rs
index 73d57350c..d994de957 100644
--- a/generic/threadshare/src/udpsink/imp.rs
+++ b/generic/threadshare/src/udpsink/imp.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::channel::mpsc;
use futures::future::BoxFuture;
diff --git a/generic/threadshare/src/udpsink/mod.rs b/generic/threadshare/src/udpsink/mod.rs
index ceff6b02a..5ddba71a9 100644
--- a/generic/threadshare/src/udpsink/mod.rs
+++ b/generic/threadshare/src/udpsink/mod.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/src/udpsrc/imp.rs b/generic/threadshare/src/udpsrc/imp.rs
index 6a3158b84..2c7b16b85 100644
--- a/generic/threadshare/src/udpsrc/imp.rs
+++ b/generic/threadshare/src/udpsrc/imp.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
diff --git a/generic/threadshare/src/udpsrc/mod.rs b/generic/threadshare/src/udpsrc/mod.rs
index cdb7c3d25..f482a19c2 100644
--- a/generic/threadshare/src/udpsrc/mod.rs
+++ b/generic/threadshare/src/udpsrc/mod.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/tests/appsrc.rs b/generic/threadshare/tests/appsrc.rs
index 64e788478..91d8e67d1 100644
--- a/generic/threadshare/tests/appsrc.rs
+++ b/generic/threadshare/tests/appsrc.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::prelude::*;
diff --git a/generic/threadshare/tests/inputselector.rs b/generic/threadshare/tests/inputselector.rs
index 5fd5ac407..4dd3427ad 100644
--- a/generic/threadshare/tests/inputselector.rs
+++ b/generic/threadshare/tests/inputselector.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::prelude::*;
diff --git a/generic/threadshare/tests/jitterbuffer.rs b/generic/threadshare/tests/jitterbuffer.rs
index 1fe64c65f..b3fda7275 100644
--- a/generic/threadshare/tests/jitterbuffer.rs
+++ b/generic/threadshare/tests/jitterbuffer.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::gst_debug;
use gst::prelude::*;
diff --git a/generic/threadshare/tests/pad.rs b/generic/threadshare/tests/pad.rs
index d49512ca3..30c7fd2b0 100644
--- a/generic/threadshare/tests/pad.rs
+++ b/generic/threadshare/tests/pad.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
#![allow(clippy::non_send_fields_in_send_ty)]
use futures::channel::mpsc;
diff --git a/generic/threadshare/tests/pipeline.rs b/generic/threadshare/tests/pipeline.rs
index 4203d5e52..94e15854f 100644
--- a/generic/threadshare/tests/pipeline.rs
+++ b/generic/threadshare/tests/pipeline.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::glib;
use gst::prelude::*;
diff --git a/generic/threadshare/tests/proxy.rs b/generic/threadshare/tests/proxy.rs
index f6b0799d9..5097ccb0d 100644
--- a/generic/threadshare/tests/proxy.rs
+++ b/generic/threadshare/tests/proxy.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::prelude::*;
diff --git a/generic/threadshare/tests/queue.rs b/generic/threadshare/tests/queue.rs
index 0d8781626..49c7c3bd6 100644
--- a/generic/threadshare/tests/queue.rs
+++ b/generic/threadshare/tests/queue.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::prelude::*;
diff --git a/generic/threadshare/tests/tcpclientsrc.rs b/generic/threadshare/tests/tcpclientsrc.rs
index 895322278..d76004d3b 100644
--- a/generic/threadshare/tests/tcpclientsrc.rs
+++ b/generic/threadshare/tests/tcpclientsrc.rs
@@ -15,6 +15,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::prelude::*;
diff --git a/generic/threadshare/tests/udpsink.rs b/generic/threadshare/tests/udpsink.rs
index 3825e2d65..9245ce664 100644
--- a/generic/threadshare/tests/udpsink.rs
+++ b/generic/threadshare/tests/udpsink.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use std::thread;
diff --git a/generic/threadshare/tests/udpsrc.rs b/generic/threadshare/tests/udpsrc.rs
index 9bba3e31e..03b15ee5c 100644
--- a/generic/threadshare/tests/udpsrc.rs
+++ b/generic/threadshare/tests/udpsrc.rs
@@ -14,6 +14,8 @@
// License along with this library; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
use gst::prelude::*;
diff --git a/net/reqwest/src/lib.rs b/net/reqwest/src/lib.rs
index e5d41728e..34506915e 100644
--- a/net/reqwest/src/lib.rs
+++ b/net/reqwest/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/net/reqwest/src/reqwesthttpsrc/imp.rs b/net/reqwest/src/reqwesthttpsrc/imp.rs
index 02f6ec57f..2622a26ef 100644
--- a/net/reqwest/src/reqwesthttpsrc/imp.rs
+++ b/net/reqwest/src/reqwesthttpsrc/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use std::sync::{Arc, Mutex};
use std::time::Duration;
use std::u64;
diff --git a/net/reqwest/src/reqwesthttpsrc/mod.rs b/net/reqwest/src/reqwesthttpsrc/mod.rs
index be4fd1ddf..e2d5852d5 100644
--- a/net/reqwest/src/reqwesthttpsrc/mod.rs
+++ b/net/reqwest/src/reqwesthttpsrc/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/net/reqwest/tests/reqwesthttpsrc.rs b/net/reqwest/tests/reqwesthttpsrc.rs
index 1d4a5141c..e34b8f6aa 100644
--- a/net/reqwest/tests/reqwesthttpsrc.rs
+++ b/net/reqwest/tests/reqwesthttpsrc.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::single_match)]
diff --git a/tutorial/src/identity/imp.rs b/tutorial/src/identity/imp.rs
index 981ce4b9b..a48311ad7 100644
--- a/tutorial/src/identity/imp.rs
+++ b/tutorial/src/identity/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/tutorial/src/identity/mod.rs b/tutorial/src/identity/mod.rs
index 15d18158b..67fbac191 100644
--- a/tutorial/src/identity/mod.rs
+++ b/tutorial/src/identity/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/tutorial/src/lib.rs b/tutorial/src/lib.rs
index e43d7e7cf..9a4a8eeb6 100644
--- a/tutorial/src/lib.rs
+++ b/tutorial/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs
index 5029c9c59..38a654005 100644
--- a/tutorial/src/progressbin/imp.rs
+++ b/tutorial/src/progressbin/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::gst_info;
diff --git a/tutorial/src/progressbin/mod.rs b/tutorial/src/progressbin/mod.rs
index a7bf70e62..a572125ed 100644
--- a/tutorial/src/progressbin/mod.rs
+++ b/tutorial/src/progressbin/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/tutorial/src/rgb2gray/imp.rs b/tutorial/src/rgb2gray/imp.rs
index d79a0633b..26cb799ad 100644
--- a/tutorial/src/rgb2gray/imp.rs
+++ b/tutorial/src/rgb2gray/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/tutorial/src/rgb2gray/mod.rs b/tutorial/src/rgb2gray/mod.rs
index 28faa28d0..3473f29c6 100644
--- a/tutorial/src/rgb2gray/mod.rs
+++ b/tutorial/src/rgb2gray/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/tutorial/src/sinesrc/imp.rs b/tutorial/src/sinesrc/imp.rs
index d26b83728..91c5da60e 100644
--- a/tutorial/src/sinesrc/imp.rs
+++ b/tutorial/src/sinesrc/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/tutorial/src/sinesrc/mod.rs b/tutorial/src/sinesrc/mod.rs
index 7342f268c..7f1887a24 100644
--- a/tutorial/src/sinesrc/mod.rs
+++ b/tutorial/src/sinesrc/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/version-helper/src/git.rs b/version-helper/src/git.rs
index 2bd188dc5..e32c6a111 100644
--- a/version-helper/src/git.rs
+++ b/version-helper/src/git.rs
@@ -1,3 +1,8 @@
+// Copyright (C) 2020 Guillaume Desmottes <guillaume.desmottes@collabora.com>
+//
+// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>
+//
+// SPDX-License-Identifier: MIT
use std::path::Path;
use std::process::Command;
diff --git a/version-helper/src/lib.rs b/version-helper/src/lib.rs
index 6698f6a85..6e2d10cb5 100644
--- a/version-helper/src/lib.rs
+++ b/version-helper/src/lib.rs
@@ -2,6 +2,8 @@
// Copyright (C) 2019 Sebastian Dröge <sebastian@centricular.com>
//
// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>
+//
+// SPDX-License-Identifier: MIT
//! Extracts release for [GStreamer](https://gstreamer.freedesktop.org) plugin metadata
//!
diff --git a/video/cdg/src/cdgdec/imp.rs b/video/cdg/src/cdgdec/imp.rs
index 06d596874..7b4c85107 100644
--- a/video/cdg/src/cdgdec/imp.rs
+++ b/video/cdg/src/cdgdec/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::gst_debug;
diff --git a/video/cdg/src/cdgdec/mod.rs b/video/cdg/src/cdgdec/mod.rs
index a942b8d98..71d51993b 100644
--- a/video/cdg/src/cdgdec/mod.rs
+++ b/video/cdg/src/cdgdec/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/cdg/src/cdgparse/imp.rs b/video/cdg/src/cdgparse/imp.rs
index 8dac5353d..da1fbd2b5 100644
--- a/video/cdg/src/cdgparse/imp.rs
+++ b/video/cdg/src/cdgparse/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::format::Bytes;
use gst::glib;
diff --git a/video/cdg/src/cdgparse/mod.rs b/video/cdg/src/cdgparse/mod.rs
index 605f90f29..b5cb26180 100644
--- a/video/cdg/src/cdgparse/mod.rs
+++ b/video/cdg/src/cdgparse/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/cdg/src/constants.rs b/video/cdg/src/constants.rs
index 5f8d80000..69b8cf13c 100644
--- a/video/cdg/src/constants.rs
+++ b/video/cdg/src/constants.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
pub(crate) const CDG_PACKET_SIZE: i32 = 24;
diff --git a/video/cdg/src/lib.rs b/video/cdg/src/lib.rs
index 8a780fdac..78a70753e 100644
--- a/video/cdg/src/lib.rs
+++ b/video/cdg/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/video/cdg/src/typefind.rs b/video/cdg/src/typefind.rs
index 0b40a5176..2802c9708 100644
--- a/video/cdg/src/typefind.rs
+++ b/video/cdg/src/typefind.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
diff --git a/video/cdg/tests/cdgdec.rs b/video/cdg/tests/cdgdec.rs
index 7ee83a1ac..d5a9ca66d 100644
--- a/video/cdg/tests/cdgdec.rs
+++ b/video/cdg/tests/cdgdec.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::prelude::*;
use std::path::PathBuf;
diff --git a/video/dav1d/src/dav1ddec/imp.rs b/video/dav1d/src/dav1ddec/imp.rs
index 384437579..de06b9bd3 100644
--- a/video/dav1d/src/dav1ddec/imp.rs
+++ b/video/dav1d/src/dav1ddec/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/dav1d/src/dav1ddec/mod.rs b/video/dav1d/src/dav1ddec/mod.rs
index dc13b2498..83e115873 100644
--- a/video/dav1d/src/dav1ddec/mod.rs
+++ b/video/dav1d/src/dav1ddec/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/dav1d/src/lib.rs b/video/dav1d/src/lib.rs
index 12e628a87..ae63f5234 100644
--- a/video/dav1d/src/lib.rs
+++ b/video/dav1d/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/video/ffv1/src/ffv1dec/imp.rs b/video/ffv1/src/ffv1dec/imp.rs
index fd5321626..81a31e245 100644
--- a/video/ffv1/src/ffv1dec/imp.rs
+++ b/video/ffv1/src/ffv1dec/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use ffv1::constants::{RGB, YCBCR};
use ffv1::decoder::{Decoder, Frame};
diff --git a/video/ffv1/src/ffv1dec/mod.rs b/video/ffv1/src/ffv1dec/mod.rs
index 71fa34c36..dfbc2dd89 100644
--- a/video/ffv1/src/ffv1dec/mod.rs
+++ b/video/ffv1/src/ffv1dec/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/ffv1/src/lib.rs b/video/ffv1/src/lib.rs
index ca52eb17b..03572c2d5 100644
--- a/video/ffv1/src/lib.rs
+++ b/video/ffv1/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
mod ffv1dec;
diff --git a/video/ffv1/tests/ffv1dec.rs b/video/ffv1/tests/ffv1dec.rs
index 894af6bcf..a431ff4ce 100644
--- a/video/ffv1/tests/ffv1dec.rs
+++ b/video/ffv1/tests/ffv1dec.rs
@@ -6,6 +6,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/flavors/src/bytes.rs b/video/flavors/src/bytes.rs
index d16be1d14..f02b81662 100644
--- a/video/flavors/src/bytes.rs
+++ b/video/flavors/src/bytes.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
pub use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt};
use std::io;
diff --git a/video/flavors/src/flvdemux/imp.rs b/video/flavors/src/flvdemux/imp.rs
index ffe3a81b2..b210ed1e9 100644
--- a/video/flavors/src/flvdemux/imp.rs
+++ b/video/flavors/src/flvdemux/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use std::cmp;
use std::sync::Mutex;
diff --git a/video/flavors/src/flvdemux/mod.rs b/video/flavors/src/flvdemux/mod.rs
index 86f9cc4c1..f0415bcc2 100644
--- a/video/flavors/src/flvdemux/mod.rs
+++ b/video/flavors/src/flvdemux/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/flavors/src/lib.rs b/video/flavors/src/lib.rs
index 1ef573035..70d0a4982 100644
--- a/video/flavors/src/lib.rs
+++ b/video/flavors/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/video/gif/examples/testvideosrc2gif.rs b/video/gif/examples/testvideosrc2gif.rs
index 056e0dee9..106f4ffa2 100644
--- a/video/gif/examples/testvideosrc2gif.rs
+++ b/video/gif/examples/testvideosrc2gif.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::prelude::*;
diff --git a/video/gif/src/gifenc/imp.rs b/video/gif/src/gifenc/imp.rs
index 64027cd11..39b64cfe6 100644
--- a/video/gif/src/gifenc/imp.rs
+++ b/video/gif/src/gifenc/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use atomic_refcell::AtomicRefCell;
use gst::glib;
diff --git a/video/gif/src/gifenc/mod.rs b/video/gif/src/gifenc/mod.rs
index 6ebf0c2c8..87ebc62c2 100644
--- a/video/gif/src/gifenc/mod.rs
+++ b/video/gif/src/gifenc/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/gif/src/lib.rs b/video/gif/src/lib.rs
index 7caa3ee59..25cf64df6 100644
--- a/video/gif/src/lib.rs
+++ b/video/gif/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/video/gif/tests/gifenc.rs b/video/gif/tests/gifenc.rs
index 54d96a06c..525b3e46f 100644
--- a/video/gif/tests/gifenc.rs
+++ b/video/gif/tests/gifenc.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
fn init() {
use std::sync::Once;
diff --git a/video/hsv/src/hsvdetector/imp.rs b/video/hsv/src/hsvdetector/imp.rs
index bd758dcdf..36e3891c8 100644
--- a/video/hsv/src/hsvdetector/imp.rs
+++ b/video/hsv/src/hsvdetector/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/hsv/src/hsvdetector/mod.rs b/video/hsv/src/hsvdetector/mod.rs
index c4c7b97b4..661407076 100644
--- a/video/hsv/src/hsvdetector/mod.rs
+++ b/video/hsv/src/hsvdetector/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/hsv/src/hsvfilter/imp.rs b/video/hsv/src/hsvfilter/imp.rs
index 444fdbd2b..391de8a92 100644
--- a/video/hsv/src/hsvfilter/imp.rs
+++ b/video/hsv/src/hsvfilter/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::gst_info;
diff --git a/video/hsv/src/hsvfilter/mod.rs b/video/hsv/src/hsvfilter/mod.rs
index 37cd6b635..95f832021 100644
--- a/video/hsv/src/hsvfilter/mod.rs
+++ b/video/hsv/src/hsvfilter/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/hsv/src/hsvutils.rs b/video/hsv/src/hsvutils.rs
index 18a23aae5..5577e5912 100644
--- a/video/hsv/src/hsvutils.rs
+++ b/video/hsv/src/hsvutils.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
// Reference used for implementation: https://en.wikipedia.org/wiki/HSL_and_HSV
diff --git a/video/hsv/src/lib.rs b/video/hsv/src/lib.rs
index 33053223c..7b56aefc2 100644
--- a/video/hsv/src/lib.rs
+++ b/video/hsv/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/video/rav1e/src/lib.rs b/video/rav1e/src/lib.rs
index 90f18971b..6e5b42c84 100644
--- a/video/rav1e/src/lib.rs
+++ b/video/rav1e/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs
index 3a57b49e3..80f15bf0c 100644
--- a/video/rav1e/src/rav1enc/imp.rs
+++ b/video/rav1e/src/rav1enc/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::gst_debug;
diff --git a/video/rav1e/src/rav1enc/mod.rs b/video/rav1e/src/rav1enc/mod.rs
index 7020ff6d9..09269cf7e 100644
--- a/video/rav1e/src/rav1enc/mod.rs
+++ b/video/rav1e/src/rav1enc/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/rav1e/tests/rav1enc.rs b/video/rav1e/tests/rav1enc.rs
index 04dec7d9d..85619a053 100644
--- a/video/rav1e/tests/rav1enc.rs
+++ b/video/rav1e/tests/rav1enc.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::prelude::*;
diff --git a/video/rspng/examples/pngenc.rs b/video/rspng/examples/pngenc.rs
index 210e3b6c1..d543b9128 100644
--- a/video/rspng/examples/pngenc.rs
+++ b/video/rspng/examples/pngenc.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::prelude::*;
diff --git a/video/rspng/src/lib.rs b/video/rspng/src/lib.rs
index abd644a39..38040e41f 100644
--- a/video/rspng/src/lib.rs
+++ b/video/rspng/src/lib.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::glib;
diff --git a/video/rspng/src/pngenc/imp.rs b/video/rspng/src/pngenc/imp.rs
index 15c18b6d9..704c767e9 100644
--- a/video/rspng/src/pngenc/imp.rs
+++ b/video/rspng/src/pngenc/imp.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use std::{io, io::Write, sync::Arc};
diff --git a/video/rspng/src/pngenc/mod.rs b/video/rspng/src/pngenc/mod.rs
index c16497432..ca7c62a37 100644
--- a/video/rspng/src/pngenc/mod.rs
+++ b/video/rspng/src/pngenc/mod.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
use gst::glib;
use gst::prelude::*;
diff --git a/video/rspng/tests/pngenc.rs b/video/rspng/tests/pngenc.rs
index 35a0d6a8d..ace393d2d 100644
--- a/video/rspng/tests/pngenc.rs
+++ b/video/rspng/tests/pngenc.rs
@@ -5,6 +5,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//
+// SPDX-License-Identifier: MIT/Apache-2.0
fn init() {
use std::sync::Once;