diff options
| author | Tim Blechmann <tim.blechmann@qt.io> | 2025-12-16 08:19:54 +0800 |
|---|---|---|
| committer | Tim Blechmann <tim.blechmann@qt.io> | 2025-12-16 22:59:04 +0800 |
| commit | 287474e2f855f1c1632f4c17d6f175ce6aad29a6 (patch) | |
| tree | c4cf6a4df0e9e79404d7d91dad97ff50ccd14c90 /src/multimediawidgets/qvideowidget.h | |
| parent | ec793ce3541dfdec0efa5a4f55d64c817a245e5d (diff) | |
setResolvedAudioDevice will create a new player, if it owned a player
before. This can lead to situations where the setting a new device after
unsetting the sample can crash inside setResolvedAudioDevice due to a
nullptr dereference.
Clearing/unrefing the player when clearing sample will prevent this
situation from happening.
Fixes: QTBUG-142743
Pick-to: 6.10 6.11
Change-Id: Ifce32658ba77275d6e466798e99bc1c994721e0b
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/multimediawidgets/qvideowidget.h')
0 files changed, 0 insertions, 0 deletions
