diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-08-21 10:55:10 +0300 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@digia.com> | 2014-08-25 16:05:24 +0200 |
commit | 778b233bcdbc2942a44efd468f6bfb4c0ce5d5cf (patch) | |
tree | 69e00b0db784542badbb2a6d3200b2356f1c3d3c /tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp | |
parent | 5d04ed2a0a02e483196bd88ca059b7cfcb52a6ac (diff) |
winrt: Add media playback service
This introduces a MediaPlayer service based on the MFEngineEx API. Only
scene graph video rendering is supported at this time. The video renderer
control is abstracted in order to provide a base for future video nodes
which do not source their content from the MF engine.
[ChangeLog] Media player support was added to the winrt backend.
Change-Id: I8155a1030466ea352fad0a87d1ae97a88983760c
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp')
-rw-r--r-- | tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp index 7e9327a10..5109d305b 100644 --- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp +++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp @@ -764,6 +764,10 @@ void tst_QMediaPlayerBackend::playlist() player.play(); QTRY_COMPARE_WITH_TIMEOUT(player.state(), QMediaPlayer::StoppedState, 10000); + + if (player.mediaStatus() == QMediaPlayer::InvalidMedia) + QSKIP("Media player does not support M3U playlists"); + QCOMPARE(mediaSpy.count(), 2); // sample.m3u -> sample.m3u resolved -> test.wav -> // nested1.m3u -> nested1.m3u resolved -> test.wav -> |