plugins/screencast: test creating a dmabuf with the real modifier list
The test isn't useful if it tests different parameters than we're actually using
This commit is contained in:
parent
a169114fee
commit
21a0ae31b7
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ bool ScreenCastStream::createStream()
|
|||
m_drmFormat = itModifiers.key();
|
||||
m_modifiers = *itModifiers;
|
||||
}
|
||||
m_hasDmaBuf = testCreateDmaBuf(m_resolution, m_drmFormat, {DRM_FORMAT_MOD_INVALID}).has_value();
|
||||
m_hasDmaBuf = testCreateDmaBuf(m_resolution, m_drmFormat, m_modifiers).has_value();
|
||||
|
||||
char buffer[2048];
|
||||
QList<const spa_pod *> params = buildFormats(false, buffer);
|
||||
|
|
Loading…
Reference in a new issue