From a71264ac6579e79af5fe907c83d9b27ef9d1ac74 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 8 Nov 2023 16:20:15 +0100 Subject: [PATCH] GL Spout/Syphon: add 'disp.' to MOD_NAME to be consistent with 'spout cap.' \+ renamed "Syphon display" to 'syphon disp.' (from the same reason) --- src/video_capture/syphon.m | 2 +- src/video_display/gl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_capture/syphon.m b/src/video_capture/syphon.m index b57cfe5a6..708602b29 100644 --- a/src/video_capture/syphon.m +++ b/src/video_capture/syphon.m @@ -67,7 +67,7 @@ #include "video_capture.h" #define FPS 60.0 -#define MOD_NAME "[Syphon capture] " +#define MOD_NAME "[syphon cap.] " #define DEFAULT_MAX_QUEUE_SIZE 1 static void usage(bool full); diff --git a/src/video_display/gl.cpp b/src/video_display/gl.cpp index ad20d5e23..3f4b99d34 100644 --- a/src/video_display/gl.cpp +++ b/src/video_display/gl.cpp @@ -745,7 +745,7 @@ static void * display_gl_init(struct module *parent, const char *fmt, unsigned i #else #define NAME_SPOUT_SYPHON_RAW syphon #endif -#define NAME_SPOUT_SYPHON TOSTRING(NAME_SPOUT_SYPHON_RAW) +#define NAME_SPOUT_SYPHON TOSTRING(NAME_SPOUT_SYPHON_RAW) " disp." static void * display_spout_syphon_init(struct module *parent, const char *fmt, unsigned int flags) { char config_str[1024] = "hide-window:" NAME_SPOUT_SYPHON; if (strcmp(fmt, "help") == 0) {