AVFoundation: Fix y-inverted QML Videos
authorAndy Nichols <andy.nichols@digia.com>
Mon, 3 Mar 2014 14:18:38 +0000 (15:18 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 4 Mar 2014 13:13:11 +0000 (14:13 +0100)
commit1fe5a7964fa1362349b10753c5cc89f1cc7fd978
tree039d5601f751cf9e98e2f7ef6c0088c8dbd0573e
parent16430262d9068f5f2ce5c2b4a16e8f71c4442254
AVFoundation: Fix y-inverted QML Videos

When the code that supports iOS was added, we introduced a bug where QML
videos would be played y-inverted on OS X.  This is because we made no
effort to y-invert the Framebuffer Object before rendering the texture
in the SceneGraph.  Now we render the video the the FBO y-inverted, so
there is no need to y-invert the resulting texture.

Task-number: QTBUG-35955
Change-Id: I41af1aaae57923b9972b5be5ec65f7d2a97d77c5
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/avfoundation/mediaplayer/avfvideoframerenderer.mm