Skip to content

Commit

Permalink
GL Spout/Syphon: add 'disp.' to MOD_NAME
Browse files Browse the repository at this point in the history
to be consistent with 'spout cap.'

\+ renamed "Syphon display" to 'syphon disp.' (from the same reason)
  • Loading branch information
MartinPulec committed Nov 8, 2023
1 parent 687bcfb commit a71264a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/video_capture/syphon.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/video_display/gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a71264a

Please sign in to comment.