summaryrefslogtreecommitdiffstats
path: root/src/multimediawidgets/qvideowidget.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-07-29 16:02:32 +0200
committerLars Knoll <lars.knoll@qt.io>2021-08-04 07:52:11 +0200
commit86357212fe49dd3471d398a4dc8605c6cdf46406 (patch)
treef45276149dfb4a4d6c4448e1011436f0d22fd251 /src/multimediawidgets/qvideowidget.h
parent2575d91f3df0405638325d71d3d0e3f1130881df (diff)
Improve windowed rendering with gstreamer
Correctly respect the aspectRatioMode when calculating the render rectangle. This works fine on xvimagesink. The vaapisink doesn't fully respect it (at least with current AMD drivers), but that is a bug in the vaapi implementation. Set the fullscreen flag on the sink when going fullscreen, so that it can apply any possible optimizations. Clean up the code dealing with brightness correction etc, as that is currently not used or supported. Change-Id: I8e4d005901fa1ee59892d647f9359d8edb96664e Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimediawidgets/qvideowidget.h')
-rw-r--r--src/multimediawidgets/qvideowidget.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/multimediawidgets/qvideowidget.h b/src/multimediawidgets/qvideowidget.h
index 57c132b9b..8ccc93ad7 100644
--- a/src/multimediawidgets/qvideowidget.h
+++ b/src/multimediawidgets/qvideowidget.h
@@ -91,7 +91,6 @@ protected:
private:
Q_DECLARE_PRIVATE(QVideoWidget)
- Q_PRIVATE_SLOT(d_func(), void _q_dimensionsChanged())
Q_PRIVATE_SLOT(d_func(), void _q_newFrame(const QVideoFrame &))
};