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:
parent
34881599f5
commit
8726c1c7d0
2 changed files with 37 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue