Obsolete Members for QVideoFrame

The following members of class QVideoFrame are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Types

(deprecated in 6.13) enum HandleType { NoHandle, RhiTextureHandle }
(deprecated in 6.7) enum RotationAngle { Rotation0, Rotation90, Rotation180, Rotation270 }

Public Functions

(deprecated in 6.13) QVideoFrame::HandleType handleType() const
(deprecated in 6.7) QVideoFrame::RotationAngle rotationAngle() const
(deprecated in 6.7) void setRotationAngle(QVideoFrame::RotationAngle angle)

Member Type Documentation

[deprecated in 6.13] enum QVideoFrame::HandleType

This enum is deprecated since 6.13. We strongly advise against using it in new code.

QVideoFrame::HandleType is deprecated and will be removed in a future Qt version.

Identifies the type of a video buffers handle.

ConstantValueDescription
QVideoFrame::NoHandle0The buffer has no handle, its data can only be accessed by mapping the buffer.
QVideoFrame::RhiTextureHandle1The handle of the buffer is defined by The Qt Rendering Hardware Interface (RHI). RHI is Qt's internal graphics abstraction for 3D APIs, such as OpenGL, Vulkan, Metal, and Direct 3D.

See also handleType().

[deprecated in 6.7] enum QVideoFrame::RotationAngle

This enum is deprecated since 6.7. We strongly advise against using it in new code.

Use QtVideo::Rotation instead.

The angle of the clockwise rotation that should be applied to a video frame before displaying.

ConstantValueDescription
QVideoFrame::Rotation00No rotation required, the frame has correct orientation
QVideoFrame::Rotation9090The frame should be rotated by 90 degrees
QVideoFrame::Rotation180180The frame should be rotated by 180 degrees
QVideoFrame::Rotation270270The frame should be rotated by 270 degrees

Member Function Documentation

[deprecated in 6.13] QVideoFrame::HandleType QVideoFrame::handleType() const

This function is deprecated since 6.13. We strongly advise against using it in new code.

Returns the type of a video frame's handle. QVideoFrame::handleType() is deprecated and will be removed in a future Qt version.

Always returns NoHandle.

[deprecated in 6.7] QVideoFrame::RotationAngle QVideoFrame::rotationAngle() const

This function is deprecated since 6.7. We strongly advise against using it in new code.

Use QVideoFrame::rotation instead.

Returns the angle the frame should be rotated clockwise before displaying.

See also setRotationAngle().

[deprecated in 6.7] void QVideoFrame::setRotationAngle(QVideoFrame::RotationAngle angle)

This function is deprecated since 6.7. We strongly advise against using it in new code.

Use QVideoFrame::setRotation instead.

Sets the angle the frame should be rotated clockwise before displaying.

See also rotationAngle().

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.