From 9c99dfc34dd3f7107e06da90e6f66ace06c8953d Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 26 Jul 2024 11:09:44 +1000 Subject: [PATCH] tests/examples/qmlglsink/overlay: add copyright and licenses headers Part-of: --- .../tests/examples/qt/qmloverlay/main.cpp | 26 +++++++++++++++++++ .../tests/examples/qt/qmloverlay/main.qml | 26 +++++++++++++++++++ .../tests/examples/qt/qmloverlay/overlay.qml | 26 +++++++++++++++++++ .../tests/examples/qt/qmloverlay/overlay2.qml | 26 +++++++++++++++++++ .../qt/qmlsink-dynamically-added/main.cpp | 26 +++++++++++++++++++ .../qt/qmlsink-dynamically-added/main.qml | 26 +++++++++++++++++++ .../tests/examples/qt/qmlsink/main.cpp | 26 +++++++++++++++++++ .../tests/examples/qt/qmlsink/main.qml | 26 +++++++++++++++++++ 8 files changed, 208 insertions(+) diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.cpp b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.cpp index c74353170c..b946544c07 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.cpp +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.cpp @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2020, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + #include #include #include diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.qml b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.qml index 0113a1b14b..ba2c55cd40 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.qml +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/main.qml @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2020, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + import QtQuick 2.4 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.3 diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay.qml b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay.qml index 81faeb573c..1ef871aac9 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay.qml +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay.qml @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2020, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + import QtQuick 2.4 import org.freedesktop.gstreamer.GLVideoItem 1.0 diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay2.qml b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay2.qml index fbe832a392..0fbe9264e3 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay2.qml +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmloverlay/overlay2.qml @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2020, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + import QtQuick 2.4 import org.freedesktop.gstreamer.GLVideoItem 1.0 diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.cpp b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.cpp index dede86dc64..2e78f5e3c8 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.cpp +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.cpp @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2020, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + #include #include #include diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.qml b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.qml index ffd3cd1650..981707bcce 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.qml +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink-dynamically-added/main.qml @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2020, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + import QtQuick 2.4 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.3 diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.cpp b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.cpp index 9aefe09bc1..681a0c54c1 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.cpp +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.cpp @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2015, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + #include #include #include diff --git a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.qml b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.qml index ffd3cd1650..34328ba105 100644 --- a/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.qml +++ b/subprojects/gst-plugins-good/tests/examples/qt/qmlsink/main.qml @@ -1,3 +1,29 @@ +// SPDX-License-Identifier: BSD-2-Clause +// +// Copyright (C) 2015, Matthew Waters +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// a) Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// b) Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. + import QtQuick 2.4 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.3