AVFoundation: Emit error when media fails to load
authorAndy Nichols <nezticle@gmail.com>
Fri, 12 Apr 2013 12:10:26 +0000 (14:10 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Apr 2013 23:47:07 +0000 (01:47 +0200)
commite728a61eb68c44ef1746804cb379e46be64580e5
tree7d0006d0a974da1979ed7019c04e611b65b8a803
parentae042feed3c8ebf2fba4e34b99da2867084b9ef4
AVFoundation: Emit error when media fails to load

This also makes sure that if you attempt to load an invalid media file
while another file is playing that the old session is stopped.

Task-number: QTBUG-30411

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