Skip to content

Commit

Permalink
plugin: Set thread name
Browse files Browse the repository at this point in the history
See #180
  • Loading branch information
nowrep committed Nov 8, 2023
1 parent fba931b commit 1c8aeea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vkcapture.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ bool obs_module_load(void)
blog(LOG_ERROR, "Failed to create thread");
return false;
}
pthread_setname_np(server.thread, PLUGIN_NAME);

obs_register_source(&vkcapture_input);
blog(LOG_INFO, "plugin loaded successfully (version %s)", PLUGIN_VERSION);
Expand Down

0 comments on commit 1c8aeea

Please sign in to comment.