diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2024-04-18 16:08:16 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2024-05-10 12:43:55 +0200 |
commit | 77870eff29c5d91c7c90505b3591b462df338c26 (patch) | |
tree | 83f16861352fe80749a63bf2e00090722cbf18be /examples/webenginewidgets/maps/CMakeLists.txt | |
parent | 2b42577eece3c7f43ff1495374326e9bdc0140e1 (diff) |
Fix crash when playing video with disabled NativePixmap support
The VideoRenderer tries to create VideoFrames backed by native
textures if possible. This leads to a crash or assert if GBM and
NativePixmaps are not supported. Replace the corresponding asserts with
early returns. The renderer is able to handle the case when
NativePixmaps couldn't been created.
Also disable native texture backed VideoFrames for Nvidia by default to
avoid this code path.
Pick-to: 6.7
Change-Id: I5f271af99875dfbc28350c6d76d3bf7a1a697b9f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples/webenginewidgets/maps/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions