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
2026-01-04 19:34:13 -06:00
parent 34881599f5
commit 8726c1c7d0
2 changed files with 37 additions and 4 deletions
+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) {