From c9e668cdb634c6ae90a08f289442a50f07ef9405 Mon Sep 17 00:00:00 2001
From: Andreas Holzammer <andreas.holzammer@kdab.com>
Date: Wed, 6 Apr 2016 12:47:09 +0200
Subject: [PATCH] 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>
---
 src/plugins/directshow/player/directshowmediatype.cpp | 2 --
 1 file changed, 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;
     }
-- 
GitLab