AVFoundation: fix media player video rendering in QML.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 30 Sep 2014 14:41:25 +0000 (16:41 +0200)
committerYoann Lopes <yoann.lopes@digia.com>
Wed, 1 Oct 2014 14:23:33 +0000 (16:23 +0200)
commitf02d9e934322fbf9af8a5503c1bda37552988b2b
treeb65217b207a091d03f62bf06b33295db72c90ced
parent7f1f5edf4daf86d4e4860fb256f3b03987d8c663
AVFoundation: fix media player video rendering in QML.

The AVPlayerLayer was set on the QVideoRendererControl before its
geometry was updated, causing the renderer control to display frames
with an invalid size.

Change-Id: I90e18dce69d4b48a3d7932d44a7eab4fd443f1fb
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/avfoundation/mediaplayer/avfmediaplayersession.h
src/plugins/avfoundation/mediaplayer/avfmediaplayersession.mm