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:
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 933f456f..066b9380 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 a9356ffc..1b2a0ba7 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 215d2c56..1a0c8274 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 e231a5d9..0cd5063f 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 12041e22..56e293f5 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 a0e7731e..319fc535 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 b6e68a8e..0e3b259d 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 c26b1cb7..559d9080 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 78a1f4df..daad3b30 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 d1714e04..8b0e9f05 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 d5fb310d..3df7c152 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 e038cd71..dab3b708 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 5e777158..7ad38da5 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 a99d3d1b..9d97d628 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 736d8c01..33cc3a42 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 435ba2c2..5881a87a 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 2993b475..2377f698 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 8fcb5138..ec21fef6 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 47de9f67..90f55d90 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 48f9d31d..e0bba485 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 2b931824..3d5b48e0 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 13eb2c82..5b69afa0 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 5175316c..debef4a6 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 8c55236b..d5800894 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 3785ac0d..24784246 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 57904885..9c37b31f 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 9f4fdd2a..dcde7fa1 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 4351ff7d..f1ee96ac 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 b01c0371..a9d01e28 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 5fc0e57c..1a5aba03 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 b0fc816e..f4113c65 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 c0fcb469..2bd4e1b4 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 0e544c3e..e1b24a2b 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 69cef3c5..52ad7d49 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 7e8d12aa..d61ff3df 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 73d57350..d994de95 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 ceff6b02..5ddba71a 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 6a3158b8..2c7b16b8 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 cdb7c3d2..f482a19c 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 64e78847..91d8e67d 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 5fd5ac40..4dd3427a 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 1fe64c65..b3fda727 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 d49512ca..30c7fd2b 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 4203d5e5..94e15854 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 f6b0799d..5097ccb0 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 0d878162..49c7c3bd 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 89532227..d76004d3 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 3825e2d6..9245ce66 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 9bba3e31..03b15ee5 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 e5d41728..34506915 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 02f6ec57..2622a26e 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 be4fd1dd..e2d5852d 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 1d4a5141..e34b8f6a 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 981ce4b9..a48311ad 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 15d18158..67fbac19 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 e43d7e7c..9a4a8eeb 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 5029c9c5..38a65400 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 a7bf70e6..a572125e 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 d79a0633..26cb799a 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 28faa28d..3473f29c 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 d26b8372..91c5da60 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 7342f268..7f1887a2 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 2bd188dc..e32c6a11 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 6698f6a8..6e2d10cb 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 06d59687..7b4c8510 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 a942b8d9..71d51993 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 8dac5353..da1fbd2b 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 605f90f2..b5cb2618 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 5f8d8000..69b8cf13 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 8a780fda..78a70753 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 0b40a517..2802c970 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 7ee83a1a..d5a9ca66 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 38443757..de06b9bd 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 dc13b249..83e11587 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 12e628a8..ae63f523 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 fd532162..81a31e24 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 71fa34c3..dfbc2dd8 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 ca52eb17..03572c2d 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 894af6bc..a431ff4c 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 d16be1d1..f02b8166 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 ffe3a81b..b210ed1e 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 86f9cc4c..f0415bcc 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 1ef57303..70d0a498 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 056e0dee..106f4ffa 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 64027cd1..39b64cfe 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 6ebf0c2c..87ebc62c 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 7caa3ee5..25cf64df 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 54d96a06..525b3e46 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 bd758dcd..36e3891c 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 c4c7b97b..66140707 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 444fdbd2..391de8a9 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 37cd6b63..95f83202 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 18a23aae..5577e591 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 33053223..7b56aefc 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 90f18971..6e5b42c8 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 3a57b49e..80f15bf0 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 7020ff6d..09269cf7 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 04dec7d9..85619a05 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 210e3b6c..d543b912 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 abd644a3..38040e41 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 15c18b6d..704c767e 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 c1649743..ca7c62a3 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 35a0d6a8..ace393d2 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;