diff options
Diffstat (limited to 'spectacle/23.08-magicyuv-yuv444.patch')
| -rw-r--r-- | spectacle/23.08-magicyuv-yuv444.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/spectacle/23.08-magicyuv-yuv444.patch b/spectacle/23.08-magicyuv-yuv444.patch deleted file mode 100644 index 1b20487..0000000 --- a/spectacle/23.08-magicyuv-yuv444.patch +++ /dev/null @@ -1,37 +0,0 @@ -From b71c7ec94e989dae259bd603232d565b3d0e0f29 Mon Sep 17 00:00:00 2001 -From: Terin Stock <terinjokes@gmail.com> -Date: Mon, 22 Apr 2024 00:39:36 +0200 -Subject: [PATCH] add MagicYUV 4:4:4 support - -Allow Spectacle to record with the MagicYUV codec, added in a separate -patch to kpipewire. As this version of Spectacle makes codec decisions -based on file extensions, this patch usurps "mkv" to represent this codec. ---- - src/Platforms/VideoPlatformWayland.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/Platforms/VideoPlatformWayland.cpp b/src/Platforms/VideoPlatformWayland.cpp -index 8811b30c..a2cc7fcf 100644 ---- a/src/Platforms/VideoPlatformWayland.cpp -+++ b/src/Platforms/VideoPlatformWayland.cpp -@@ -83,6 +83,8 @@ QStringList VideoPlatformWayland::suggestedExtensions() const - extensions.append(QStringLiteral("webm")); - } else if (enc == "libx264") { - extensions.append(QStringLiteral("mp4")); -+ } else if (enc == "magicyuv") { -+ extensions.append(QStringLiteral("mkv")); - } - } - #else -@@ -108,6 +110,8 @@ void VideoPlatformWayland::setExtension(const QString &extension) - m_recorder->setEncoder("libvpx"); - } else if (extension == QStringLiteral("mp4")) { - m_recorder->setEncoder("libx264"); -+ } else if (extension == QStringLiteral("mkv")) { -+ m_recorder->setEncoder("magicyuv"); - } else { - qWarning() << "Unsupported extension" << extension; - } --- -2.43.2 - |
