QVideoFrame: harden ctor from QHwVideoBuffer
In general `QHwVideoBuffer` needs to go through
`QVideoFramePrivate::createFrame` and `QHwVideoBuffer::format()` is
expected to be invalid. We're now enforcing it.
Furthermore we tighten the used templates with concepts.
Pick-to: 6.12
Change-Id: Ie6c58bd04d7f7a1a102fe9467ef6220a8dd932ba
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 5b44993c863675b6b9c40a168cde5de4d64aac4c |
| parent | aeadc3b96740798689353fb9936240e703824e3c |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Mon, 19 Oct 2026 04:05:10 +0000 |