diff --git a/app/main.cpp b/app/main.cpp index 18406823..5550e964 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -344,6 +344,9 @@ int main(int argc, char *argv[]) // Disable minimize on focus loss by default. Users seem to want this off by default. SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); + // Allow thread naming + SDL_SetHint(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, "0"); + QGuiApplication app(argc, argv); // After the QGuiApplication is created, the platform stuff will be initialized diff --git a/app/streaming/video/ffmpeg-renderers/pacer/dxvsyncsource.cpp b/app/streaming/video/ffmpeg-renderers/pacer/dxvsyncsource.cpp index fbb48e61..8ebcc440 100644 --- a/app/streaming/video/ffmpeg-renderers/pacer/dxvsyncsource.cpp +++ b/app/streaming/video/ffmpeg-renderers/pacer/dxvsyncsource.cpp @@ -61,7 +61,7 @@ bool DxVsyncSource::initialize(SDL_Window* window, int displayFps) m_Window = info.info.win.window; - m_Thread = SDL_CreateThread(vsyncThread, "DX Vsync Thread", this); + m_Thread = SDL_CreateThread(vsyncThread, "DXVsync", this); if (m_Thread == nullptr) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Unable to create DX V-sync thread: %s", diff --git a/app/streaming/video/ffmpeg-renderers/pacer/nullthreadedvsyncsource.cpp b/app/streaming/video/ffmpeg-renderers/pacer/nullthreadedvsyncsource.cpp index 1ffc67bb..5bb10f0f 100644 --- a/app/streaming/video/ffmpeg-renderers/pacer/nullthreadedvsyncsource.cpp +++ b/app/streaming/video/ffmpeg-renderers/pacer/nullthreadedvsyncsource.cpp @@ -18,7 +18,7 @@ NullThreadedVsyncSource::~NullThreadedVsyncSource() bool NullThreadedVsyncSource::initialize(SDL_Window*, int displayFps) { m_DisplayFps = displayFps; - m_Thread = SDL_CreateThread(vsyncThread, "Null Vsync Thread", this); + m_Thread = SDL_CreateThread(vsyncThread, "NullVsync", this); if (m_Thread == nullptr) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Unable to create DX V-sync thread: %s", diff --git a/app/streaming/video/ffmpeg-renderers/pacer/pacer.cpp b/app/streaming/video/ffmpeg-renderers/pacer/pacer.cpp index 8f872221..3ab4befa 100644 --- a/app/streaming/video/ffmpeg-renderers/pacer/pacer.cpp +++ b/app/streaming/video/ffmpeg-renderers/pacer/pacer.cpp @@ -254,7 +254,7 @@ bool Pacer::initialize(SDL_Window* window, int maxVideoFps, bool enablePacing) } if (m_VsyncRenderer->isRenderThreadSupported()) { - m_RenderThread = SDL_CreateThread(Pacer::renderThread, "Pacer Render Thread", this); + m_RenderThread = SDL_CreateThread(Pacer::renderThread, "PacerRender", this); } return true; diff --git a/moonlight-common-c/moonlight-common-c b/moonlight-common-c/moonlight-common-c index a7d45372..1154cb1d 160000 --- a/moonlight-common-c/moonlight-common-c +++ b/moonlight-common-c/moonlight-common-c @@ -1 +1 @@ -Subproject commit a7d4537274f42f30d48a7a09876d9ec4a0f70813 +Subproject commit 1154cb1d3db53215e46b3c7d2476b27d52d0dfbf