diff options
author | Artem Dyomin <artem.dyomin@qt.io> | 2024-05-08 14:23:54 +0200 |
---|---|---|
committer | Artem Dyomin <artem.dyomin@qt.io> | 2024-05-10 10:19:54 +0000 |
commit | 948ce7b3d6decf7e3edd920a632562a47e2aa56a (patch) | |
tree | 2af9073e88f6103c8649a3009f69355174664ba9 /src/multimedia/platform | |
parent | a21f37193f2c105a174db7334cdf8c7a7199b3cb (diff) |
Rename QVideoFrameFormat::frameRate => streamFrameRate
The name 'frameRate' is not consistent with QVideoFrameFormat,
'streamFrameRate' works much better.
[ChangeLog][QVideoFrameFormat] Renamed the property QVideoFrameFormat::frameRate to QVideoFrameFormat::streamFrameRate.
Change-Id: I03413f15669de471371e6ed42ce948c22d1b5f5f
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Diffstat (limited to 'src/multimedia/platform')
-rw-r--r-- | src/multimedia/platform/qplatformcamera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/platform/qplatformcamera.cpp b/src/multimedia/platform/qplatformcamera.cpp index 0d3975550..1d0e49cdd 100644 --- a/src/multimedia/platform/qplatformcamera.cpp +++ b/src/multimedia/platform/qplatformcamera.cpp @@ -50,7 +50,7 @@ QVideoFrameFormat QPlatformCamera::frameFormat() const m_framePixelFormat == QVideoFrameFormat::Format_Invalid ? m_cameraFormat.pixelFormat() : m_framePixelFormat); - result.setFrameRate(m_cameraFormat.maxFrameRate()); + result.setStreamFrameRate(m_cameraFormat.maxFrameRate()); return result; } |