From 51829e585c4de6a8c8b6df8a14c6e6f453915161 Mon Sep 17 00:00:00 2001 From: "F. Duncanh" Date: Wed, 3 Sep 2025 18:46:21 -0400 Subject: [PATCH] fix typo in force-modesetting --- uxplay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uxplay.cpp b/uxplay.cpp index d956843..6b32108 100644 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -2681,13 +2681,13 @@ int main (int argc, char *argv[]) { if (videosink == "waylandsink" || videosink == "vaapisink") { videosink_options.append(" fullscreen=true"); } else if (videosink == "kmssink") { - videosink_options.append(" force_modesetting=true"); + videosink_options.append(" force-modesetting=TRUE "); } } if (videosink == "d3d11videosink" && videosink_options.empty() && use_video) { if (fullscreen) { - videosink_options.append(" fullscreen-toggle-mode=GST_D3D11_WINDOW_FULLSCREEN_TOGGLE_MODE_PROPERTY fullscreen=TRUE"); + videosink_options.append(" fullscreen-toggle-mode=GST_D3D11_WINDOW_FULLSCREEN_TOGGLE_MODE_PROPERTY fullscreen=TRUE "); } else { videosink_options.append(" fullscreen-toggle-mode=GST_D3D11_WINDOW_FULLSCREEN_TOGGLE_MODE_ALT_ENTER "); LOGI("Use Alt-Enter key combination to toggle into/out of full-screen mode"); @@ -2696,7 +2696,7 @@ int main (int argc, char *argv[]) { if (videosink == "d3d12videosink" && videosink_options.empty() && use_video) { if (fullscreen) { - videosink_options.append("fullscreen=TRUE"); + videosink_options.append(" fullscreen=TRUE "); } else { videosink_options.append(" fullscreen-on-alt-enter=TRUE "); LOGI("Use Alt-Enter key combination to toggle into/out of full-screen mode");