From 05d1cff6ebef1a4052855d17cf72e22366d7d858 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 11 Mar 2025 15:08:47 -0700 Subject: [PATCH] FFmpeg: Add Ut Video option --- CHANGES | 1 + src/platform/qt/VideoView.cpp | 1 + src/platform/qt/VideoView.ui | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/CHANGES b/CHANGES index faf7b1e9c..25485133c 100644 --- a/CHANGES +++ b/CHANGES @@ -37,6 +37,7 @@ Misc: - Core: Improve rumble emulation by averaging state over entire frame (fixes mgba.io/i/3232) - Core: Add MD5 hashing for ROMs - Core: Add support for specifying an arbitrary portable directory + - FFmpeg: Add Ut Video option - GB: Prevent incompatible BIOSes from being used on differing models - GB Serialize: Add missing savestate support for MBC6 and NT (newer) - GBA: Improve detection of valid ELF ROMs diff --git a/src/platform/qt/VideoView.cpp b/src/platform/qt/VideoView.cpp index b03949c2f..21e50f396 100644 --- a/src/platform/qt/VideoView.cpp +++ b/src/platform/qt/VideoView.cpp @@ -65,6 +65,7 @@ VideoView::VideoView(QWidget* parent) s_vcodecMap["hevc"] = "libx265"; s_vcodecMap["hevc nvenc"] = "hevc_nvenc"; s_vcodecMap["theora"] = "libtheora"; + s_vcodecMap["ut video"] = "utvideo"; s_vcodecMap["vp8"] = "libvpx"; s_vcodecMap["vp9"] = "libvpx-vp9"; s_vcodecMap["xvid"] = "libxvid"; diff --git a/src/platform/qt/VideoView.ui b/src/platform/qt/VideoView.ui index c56c5e1b5..3e8775e5c 100644 --- a/src/platform/qt/VideoView.ui +++ b/src/platform/qt/VideoView.ui @@ -302,6 +302,11 @@ VP9 + + + Ut Video + + FFV1