summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stromme <christian.stromme@qt.io>2017-11-27 22:55:20 +0100
committerAntti Kokko <antti.kokko@qt.io>2017-11-28 10:54:28 +0000
commit3598915a360c596da48c9e7b00ba8469cba5249a (patch)
tree9fd988841854edfeff14d72035794338e2a17157
parenteb952c900eef7d9dd9d1e2b24abc35aadb0f8a60 (diff)
downloadqtmultimedia-5.10.0.tar.gz
Revert "Android: Set the correct scan line for the video surface format"v5.10.0-rc3v5.10.0-rc2v5.10.05.10.0
The change causes the video output to be shown upside down. This reverts commit 2ec485482d185f92e4de33f634bc3ef9dd6c9188. Task-number: QTBUG-64764 Change-Id: I9d3e63d2c0cce17d945b62ffead38ab5f58ace7f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-rw-r--r--src/plugins/android/src/common/qandroidvideooutput.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/android/src/common/qandroidvideooutput.cpp b/src/plugins/android/src/common/qandroidvideooutput.cpp
index eb41d4a8e..b425b9d89 100644
--- a/src/plugins/android/src/common/qandroidvideooutput.cpp
+++ b/src/plugins/android/src/common/qandroidvideooutput.cpp
@@ -324,7 +324,6 @@ void QAndroidTextureVideoOutput::onFrameAvailable()
if (!m_surface->isActive()) {
QVideoSurfaceFormat format(frame.size(), frame.pixelFormat(),
QAbstractVideoBuffer::GLTextureHandle);
- format.setScanLineDirection(QVideoSurfaceFormat::BottomToTop);
m_surface->start(format);
}