diff options
author | Lars Sutterud <lars.sutterud@qt.io> | 2024-04-25 10:25:10 +0200 |
---|---|---|
committer | Lars Sutterud <lars.sutterud@qt.io> | 2024-04-30 11:01:56 +0200 |
commit | 1833c46205d6c764362416c1aed372ee4462c2ba (patch) | |
tree | 351704a9eb63d80e5f8e3498f3eba3ed5e68620f /dist/changes-5.12.2 | |
parent | 780071628b00b4d2f66daeb87af6840c3eef2aeb (diff) |
Added a QScopeGuard to make sure we close all file descriptors in the
VADRMPRIMESurfaceDescriptor struct after calling vaExportSurfaceHandle()
There are multiple return points in VAAPITextureConverter::getTextures()
and the QScopeGuard will iterate through the struct and close all fd's
upon destruction.
Change-Id: I34037d5ca30bdeb27ec73beaabd559595a509910
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'dist/changes-5.12.2')
0 files changed, 0 insertions, 0 deletions