Isolate video call camera capture from the GUI process
This commit is contained in:
1 parent
0b136ae2ab
commit
3e4d5d235f
13 files changed
+915
-115
No files matched your search
@@ -12,7 +12,9 @@
|
||||
#include <QMessageBox>
|
||||
#include <QTranslator>
|
||||
#include "gui_language.h"
|
||||
#include "call_camera_capture.h"
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#ifdef _WIN32
|
||||
#include <QStandardPaths>
|
||||
#include <windows.h>
|
||||
@@ -72,6 +74,7 @@ static struct ShutdownSentinel {
|
||||
} g_shutdown_sentinel;
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
if (argc >= 2 && std::strcmp(argv[1], "--call-camera-worker") == 0) return call_camera_worker_main(argc, argv);
|
||||
#ifdef Q_OS_LINUX
|
||||
/* На Wayland композитор владеет позицией окна (move() игнорируется) —
|
||||
* для полноценного ручного move/resize с пропорцией запускаемся через XWayland. */
|
||||
|
||||
Reference in new issue
Block a user