Bring back atomic async page flip support

Now that we're referencing the AVFrame to keep the buffers from
being reused during scanout, this should hopefully work better.
This commit is contained in:
Cameron Gutman committed 2026-01-04 19:34:13 -06:00
1 parent 34881599f5
commit 8726c1c7d0
2 files changed
+37 -4

No files matched your search

+1 -1
View File
@@ -494,7 +494,7 @@ bool DrmRenderer::initialize(PDECODER_PARAMETERS params)
atomic = true;
}
m_PropSetter.initialize(m_DrmFd, atomic);
m_PropSetter.initialize(m_DrmFd, atomic, !params->enableVsync);
drmModePlaneRes* planeRes = drmModeGetPlaneResources(m_DrmFd);
if (planeRes == nullptr) {