diff options
author | Artem Dyomin <artem.dyomin@qt.io> | 2024-05-23 12:31:21 +0200 |
---|---|---|
committer | Artem Dyomin <artem.dyomin@qt.io> | 2024-05-27 13:23:50 +0000 |
commit | 5426e2e2a5431cc6a4c41483558dc208e3653154 (patch) | |
tree | 647051bf8e938991974410d644d9c8c7312f9946 /src/plugins/multimedia/ffmpeg/qffmpeghwaccel.cpp | |
parent | 9eb57982e00aab323785f6e3e983f494e842cb52 (diff) |
We're going to expose QAbstractVideoBuffer, and the internal methods
of QVideoFrame doesn't work well with it.
- QVideoFrame::videoBuffer() is not needed as we don't want to
get users access to it.
- The constructor (QAbstractVideoBuffer*, QVideoFrameFormat)
is not needed as we'll add a new one with unique_ptr instead.
Let's use private API instead of the internal methods.
The private construction also allows to avoid dynamic cast upon
the construction.
After adding public API, some of changes, especially in tests,
might be reverted to use the new QVideoFrame's constructor.
Change-Id: Id25d9e7faf9e88ce7f57492ba173dd168d6cf1de
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Diffstat (limited to 'src/plugins/multimedia/ffmpeg/qffmpeghwaccel.cpp')
0 files changed, 0 insertions, 0 deletions