FFmpeg: TextureConverter - replace ctors with factory
all `TextureConverterBackend` classes are refcounted via
`enable_shared_from_this`. If objects are created on the stack or as
struct members, this machinery will misbehave. Replacing the
constructors with factories returning `shared_ptr` makes sure that we
cannot run into this situation in the first place.
Pick-to: 6.12
Change-Id: I92227b8e1b3698fa26a6300d682ca4ff43aec07f
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 32b655d18fb5394eaac2b30b116410803df9fedb |
| parent | 1aba8edb5793966123eaa018d4e7c8b64d16fcbf |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Mon, 14 Sep 2026 03:02:04 +0000 |
- M src/plugins/multimedia/ffmpeg/android/qffmpeghwaccel_mediacodec_p.h
- M src/plugins/multimedia/ffmpeg/darwin/qffmpeghwaccel_videotoolbox.mm
- M src/plugins/multimedia/ffmpeg/darwin/qffmpeghwaccel_videotoolbox_p.h
- M src/plugins/multimedia/ffmpeg/qffmpeghwaccel_d3d11.cpp
- M src/plugins/multimedia/ffmpeg/qffmpeghwaccel_d3d11_p.h
- M src/plugins/multimedia/ffmpeg/qffmpeghwaccel_vaapi.cpp
- M src/plugins/multimedia/ffmpeg/qffmpeghwaccel_vaapi_p.h
- M src/plugins/multimedia/ffmpeg/qffmpegtextureconverter.cpp