From 574e4f6b647e796c56a16ff85429cd6e6f60c7cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 15 Jan 2022 21:18:47 +0200 Subject: [PATCH] Add SPDX-License-Identifier to all file headers --- audio/claxon/src/claxondec/imp.rs | 2 ++ audio/claxon/src/claxondec/mod.rs | 2 ++ audio/claxon/src/lib.rs | 2 ++ audio/claxon/tests/claxondec.rs | 2 ++ audio/lewton/src/lewtondec/imp.rs | 2 ++ audio/lewton/src/lewtondec/mod.rs | 2 ++ audio/lewton/src/lib.rs | 2 ++ audio/lewton/tests/lewtondec.rs | 2 ++ generic/file/src/file_location.rs | 9 +++++++++ generic/file/src/filesink/imp.rs | 2 ++ generic/file/src/filesink/mod.rs | 2 ++ generic/file/src/filesrc/imp.rs | 2 ++ generic/file/src/filesrc/mod.rs | 2 ++ generic/file/src/lib.rs | 2 ++ generic/threadshare/examples/benchmark.rs | 2 ++ .../examples/tcpclientsrc_benchmark_sender.rs | 2 ++ generic/threadshare/examples/udpsrc_benchmark_sender.rs | 2 ++ generic/threadshare/src/appsrc/imp.rs | 2 ++ generic/threadshare/src/appsrc/mod.rs | 2 ++ generic/threadshare/src/dataqueue.rs | 2 ++ generic/threadshare/src/inputselector/imp.rs | 2 ++ generic/threadshare/src/inputselector/mod.rs | 2 ++ generic/threadshare/src/jitterbuffer/ffi.rs | 2 ++ generic/threadshare/src/jitterbuffer/imp.rs | 2 ++ generic/threadshare/src/jitterbuffer/jitterbuffer.rs | 2 ++ generic/threadshare/src/jitterbuffer/mod.rs | 2 ++ generic/threadshare/src/proxy/imp.rs | 2 ++ generic/threadshare/src/proxy/mod.rs | 2 ++ generic/threadshare/src/queue/imp.rs | 2 ++ generic/threadshare/src/queue/mod.rs | 2 ++ generic/threadshare/src/runtime/pad.rs | 2 ++ generic/threadshare/src/runtime/task.rs | 2 ++ generic/threadshare/src/socket.rs | 2 ++ generic/threadshare/src/tcpclientsrc/imp.rs | 2 ++ generic/threadshare/src/tcpclientsrc/mod.rs | 2 ++ generic/threadshare/src/udpsink/imp.rs | 2 ++ generic/threadshare/src/udpsink/mod.rs | 2 ++ generic/threadshare/src/udpsrc/imp.rs | 2 ++ generic/threadshare/src/udpsrc/mod.rs | 2 ++ generic/threadshare/tests/appsrc.rs | 2 ++ generic/threadshare/tests/inputselector.rs | 2 ++ generic/threadshare/tests/jitterbuffer.rs | 2 ++ generic/threadshare/tests/pad.rs | 2 ++ generic/threadshare/tests/pipeline.rs | 2 ++ generic/threadshare/tests/proxy.rs | 2 ++ generic/threadshare/tests/queue.rs | 2 ++ generic/threadshare/tests/tcpclientsrc.rs | 2 ++ generic/threadshare/tests/udpsink.rs | 2 ++ generic/threadshare/tests/udpsrc.rs | 2 ++ net/reqwest/src/lib.rs | 2 ++ net/reqwest/src/reqwesthttpsrc/imp.rs | 2 ++ net/reqwest/src/reqwesthttpsrc/mod.rs | 2 ++ net/reqwest/tests/reqwesthttpsrc.rs | 2 ++ tutorial/src/identity/imp.rs | 2 ++ tutorial/src/identity/mod.rs | 2 ++ tutorial/src/lib.rs | 2 ++ tutorial/src/progressbin/imp.rs | 2 ++ tutorial/src/progressbin/mod.rs | 2 ++ tutorial/src/rgb2gray/imp.rs | 2 ++ tutorial/src/rgb2gray/mod.rs | 2 ++ tutorial/src/sinesrc/imp.rs | 2 ++ tutorial/src/sinesrc/mod.rs | 2 ++ version-helper/src/git.rs | 5 +++++ version-helper/src/lib.rs | 2 ++ video/cdg/src/cdgdec/imp.rs | 2 ++ video/cdg/src/cdgdec/mod.rs | 2 ++ video/cdg/src/cdgparse/imp.rs | 2 ++ video/cdg/src/cdgparse/mod.rs | 2 ++ video/cdg/src/constants.rs | 2 ++ video/cdg/src/lib.rs | 2 ++ video/cdg/src/typefind.rs | 2 ++ video/cdg/tests/cdgdec.rs | 2 ++ video/dav1d/src/dav1ddec/imp.rs | 2 ++ video/dav1d/src/dav1ddec/mod.rs | 2 ++ video/dav1d/src/lib.rs | 2 ++ video/ffv1/src/ffv1dec/imp.rs | 2 ++ video/ffv1/src/ffv1dec/mod.rs | 2 ++ video/ffv1/src/lib.rs | 2 ++ video/ffv1/tests/ffv1dec.rs | 2 ++ video/flavors/src/bytes.rs | 2 ++ video/flavors/src/flvdemux/imp.rs | 2 ++ video/flavors/src/flvdemux/mod.rs | 2 ++ video/flavors/src/lib.rs | 2 ++ video/gif/examples/testvideosrc2gif.rs | 2 ++ video/gif/src/gifenc/imp.rs | 2 ++ video/gif/src/gifenc/mod.rs | 2 ++ video/gif/src/lib.rs | 2 ++ video/gif/tests/gifenc.rs | 2 ++ video/hsv/src/hsvdetector/imp.rs | 2 ++ video/hsv/src/hsvdetector/mod.rs | 2 ++ video/hsv/src/hsvfilter/imp.rs | 2 ++ video/hsv/src/hsvfilter/mod.rs | 2 ++ video/hsv/src/hsvutils.rs | 2 ++ video/hsv/src/lib.rs | 2 ++ video/rav1e/src/lib.rs | 2 ++ video/rav1e/src/rav1enc/imp.rs | 2 ++ video/rav1e/src/rav1enc/mod.rs | 2 ++ video/rav1e/tests/rav1enc.rs | 2 ++ video/rspng/examples/pngenc.rs | 2 ++ video/rspng/src/lib.rs | 2 ++ video/rspng/src/pngenc/imp.rs | 2 ++ video/rspng/src/pngenc/mod.rs | 2 ++ video/rspng/tests/pngenc.rs | 2 ++ 103 files changed, 216 insertions(+) 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 +// +// Licensed under the MIT license, see the LICENSE file or +// +// 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 // // Licensed under the MIT license, see the LICENSE file or +// +// 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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 @@ // , 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;