Commit c9e668cd authored by Andreas Holzammer's avatar Andreas Holzammer Committed by Yoann Lopes
Browse files

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: default avatarYoann Lopes <yoann.lopes@theqtcompany.com>
parent 3fb3231a
No related merge requests found
Showing with 0 additions and 2 deletions
...@@ -192,11 +192,9 @@ QVideoSurfaceFormat::Direction DirectShowMediaType::scanLineDirection(QVideoFram ...@@ -192,11 +192,9 @@ QVideoSurfaceFormat::Direction DirectShowMediaType::scanLineDirection(QVideoFram
case QVideoFrame::Format_BGR24: case QVideoFrame::Format_BGR24:
case QVideoFrame::Format_RGB565: case QVideoFrame::Format_RGB565:
case QVideoFrame::Format_RGB555: case QVideoFrame::Format_RGB555:
#ifndef Q_OS_WINCE
return bmiHeader.biHeight < 0 return bmiHeader.biHeight < 0
? QVideoSurfaceFormat::TopToBottom ? QVideoSurfaceFormat::TopToBottom
: QVideoSurfaceFormat::BottomToTop; : QVideoSurfaceFormat::BottomToTop;
#endif
default: default:
return QVideoSurfaceFormat::TopToBottom; return QVideoSurfaceFormat::TopToBottom;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment