From be324e96a1d3baebb4f3229b7fb48cb57688b324 Mon Sep 17 00:00:00 2001 From: "F. Duncanh" Date: Mon, 19 Aug 2024 12:19:14 -0400 Subject: [PATCH] update format of d3d11videosink toggle-mode parameters --- uxplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uxplay.cpp b/uxplay.cpp index 4dd14c9..1a7ce2f 100644 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -2049,9 +2049,9 @@ int main (int argc, char *argv[]) { if (videosink == "d3d11videosink" && use_video) { if (fullscreen) { - videosink.append(" fullscreen-toggle-mode=property fullscreen=true"); + videosink.append(" fullscreen-toggle-mode=GST_D3D11_WINDOW_FULLSCREEN_TOGGLE_MODE_PROPERTY fullscreen=true "); } else { - videosink.append(" fullscreen-toggle-mode=alt-enter"); + videosink.append(" fullscreen-toggle-mode=GST_D3D11_WINDOW_FULLSCREEN_TOGGLE_MODE_ALT_ENTER "); } LOGI("d3d11videosink is being used with option fullscreen-toggle-mode=alt-enter\n" "Use Alt-Enter key combination to toggle into/out of full-screen mode");