diff options
author | Tim Blechmann <tim@klingt.org> | 2024-03-21 11:17:14 +0800 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-03-29 06:25:35 +0000 |
commit | a25fd744e70897225de43e1cb2e3d3afc24a868c (patch) | |
tree | c5dfb6162e8067ebbfbec245191810f823c02c5f | |
parent | 0e6cf74be5014b4ab0a32600f164df6d871b190e (diff) |
GStreamer: improve naming consistency for environment variables
Pick-to: 6.5
Change-Id: Ieb9ce619a7c5eb8c370e3188f8fe69db308d736b
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
(cherry picked from commit 6def89408267aa46ec5e0c311f4c5da958aee18b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 15ec1c592e63aa0cf177b48190ec16a6c78c334f)
-rw-r--r-- | src/plugins/multimedia/gstreamer/common/qgstreamervideosink.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/multimedia/gstreamer/common/qgstreamervideosink.cpp b/src/plugins/multimedia/gstreamer/common/qgstreamervideosink.cpp index a4268db34..21b64f997 100644 --- a/src/plugins/multimedia/gstreamer/common/qgstreamervideosink.cpp +++ b/src/plugins/multimedia/gstreamer/common/qgstreamervideosink.cpp @@ -86,12 +86,12 @@ QGstreamerVideoSink::QGstreamerVideoSink(QVideoSink *parent) } bool disablePixelAspectRatio = - qEnvironmentVariableIsSet("QT_MULTIMEDIA_GSTREAMER_DISABLE_PIXEL_ASPECT_RATIO"); + qEnvironmentVariableIsSet("QT_GSTREAMER_DISABLE_PIXEL_ASPECT_RATIO"); if (disablePixelAspectRatio) { // Enabling the pixel aspect ratio may expose a gstreamer bug on cameras that don't expose a // pixel-aspect-ratio via `VIDIOC_CROPCAP`. This can cause the caps negotiation to fail. - // Using the QT_MULTIMEDIA_GSTREAMER_DISABLE_PIXEL_ASPECT_RATIO environment variable, on can - // disable pixel-aspect-ratio handling + // Using the QT_GSTREAMER_DISABLE_PIXEL_ASPECT_RATIO environment variable, one can disable + // pixel-aspect-ratio handling // // compare: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6242 gstCapsFilter = |