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>
This commit is contained in:
committed by
Yoann Lopes
parent
3fb3231a9e
commit
c9e668cdb6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user