summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2016-04-06 12:47:09 +0200
committerYoann Lopes <yoann.lopes@theqtcompany.com>2016-04-06 13:30:39 +0000
commitc9e668cdb634c6ae90a08f289442a50f07ef9405 (patch)
treea9e4a25ee564164b17f1d1b420f3d89ac87a4d33
parent3fb3231a9e22dcb780d5b31ec57896429d40b0e5 (diff)
wince: revert flipping Video content
It turned out in my previous tests, that the codec which I used is buggy and does not play well with this documented behavior. Change-Id: I8aff9f68d449da10de4fa33073d5d5cbe9b2a281 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
-rw-r--r--src/plugins/directshow/player/directshowmediatype.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/directshow/player/directshowmediatype.cpp b/src/plugins/directshow/player/directshowmediatype.cpp
index fcb254fe9..1be641f41 100644
--- a/src/plugins/directshow/player/directshowmediatype.cpp
+++ b/src/plugins/directshow/player/directshowmediatype.cpp
@@ -192,11 +192,9 @@ QVideoSurfaceFormat::Direction DirectShowMediaType::scanLineDirection(QVideoFram
case QVideoFrame::Format_BGR24:
case QVideoFrame::Format_RGB565:
case QVideoFrame::Format_RGB555:
-#ifndef Q_OS_WINCE
return bmiHeader.biHeight < 0
? QVideoSurfaceFormat::TopToBottom
: QVideoSurfaceFormat::BottomToTop;
-#endif
default:
return QVideoSurfaceFormat::TopToBottom;
}