summaryrefslogtreecommitdiffstats
path: root/tests/auto/integration/qmediaplayerbackend
Commit message (Collapse)AuthorAgeFilesLines
* Blacklist qmediaplayerbackend tests in all versions of windowsJani Heikkinen2018-01-051-2/+1
| | | | | | | | | | It was already blacklisted in most of builds and started to fail in remaining ones as well Task-number: QTBUG-46368 Task-number: QTBUG-65574 Change-Id: I809f8efd2887facfe85bf2d98f2251b0a7b82484 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Fix deadlock when a new url is set in loading stateVal Doroshchuk2017-11-101-0/+11
| | | | | | | | | | | | | | | Setting a new url while QMediaPlayer is in loading state can result in a deadlock between the GUI and worker thread. Because main thread is waiting when worker realeses m_graph but worker cleared all pending tasks and is waiting for new tasks from main thread. Task-number: QTBUG-53534 Change-Id: I296ecdf866c5d85efc7121d3e7936334d6b700fd Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* Skip OVG tests on boot2qtSami Nurmenniemi2017-09-122-0/+7
| | | | | | | | | | | | | Loading OVG is unstable on qemu. That needs to be skipped for boot2qt tests. This will conflict when merging to branch 5.10 with commit c341b2b25697f937280fe3620629ac3d32c19613. Correct version is in 5.10. Task-number: QTBUG-63079 Change-Id: Ic691beb3dbbfdc64ca31b380ad85d9dadbe08a90 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Disable/blacklist failing tests for boot2qtSami Nurmenniemi2017-04-281-0/+14
| | | | | | | | | | Currently boot2qt is tested with QEMU and some tests fail. Disabling them for now to make it possible to enable qt5 tests for Coin. Task-number: QTBUG-60266 Change-Id: I0eadd95e202e4ff14f811856d982424608d29c44 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
* Improve tst_QMediaPlayerBackend::playPauseStop()v5.9.0-beta3Yoann Lopes2017-04-201-0/+7
| | | | | | | | Check that the position doesn't change after calling pause(). Change-Id: I4d7629c2f9cb165134279e1cc7047a5c82f394c9 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* Improve tst_QMediaPlayerBackend::processEOS()Yoann Lopes2017-04-201-0/+26
| | | | | | | | | When at the end of the media, check that pause() resets the position to the beginning and that the status changes to BufferedMedia. Change-Id: I3c7aeb98284de8cbeb12195fbf0a308e593af67b Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* Improve tst_QMediaPlayerBackend::surfaceTest()Yoann Lopes2017-04-201-1/+3
| | | | | | | | - Add NV12 and NV21 formats to the tested formats. Change-Id: Ibca6966636352dda744820f80f08ca0f040356a7 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* Fix the testsurface in tst_qmediaplayerbackendChristian Strømme2017-04-201-2/+7
| | | | | | | | Skip tests were the test-surface is incompatible with the backend. Task-number: QTBUG-46368 Change-Id: Ica2c01573b15cbf6a93080bb05e932202938629f Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Fix time-stamp tests in tst_qmediaplayerbackendChristian Strømme2017-04-201-0/+4
| | | | | | | | | Not all backends supports or have an implementation that sets the time-stamp on the video frames, so check if we do have valid time-stamps before running any tests that depends on it. Change-Id: I53926022a02cd87d23c493f7b392c4eb4c45a55e Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Blacklist qmediaplayerbackend tests in all versions of macOSLiang Qi2017-03-161-5/+1
| | | | | | | | | osx-10.12 in BLACKLIST was not supported in testlib yet. Task-number: QTBUG-46368 Task-number: QTBUG-58973 Change-Id: I26ef9fb5619c4f6ec5d2cfca67d212420f0facec Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* Blacklist qmediaplayerbackend tests in macOS 10.12Liang Qi2017-02-231-0/+1
| | | | | | | | | These were found to also fail in macOS 10.12 Task-number: QTBUG-46368 Task-number: QTBUG-58973 Change-Id: I33f695a3495e61a9b7fb9901640a35dbf1333991 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-11-112-15/+155
|\ | | | | | | | | | | | | | | | | | | Conflicts: qtmultimedia.pro src/multimedia/playback/qmediaplayer.cpp src/plugins/directshow/directshow.pro tests/auto/integration/qmediaplayerbackend/BLACKLIST Change-Id: I6dacdcbb223c1d12dd72eb308a67170983c709b3
| * Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-11-042-16/+155
| |\ | | | | | | | | | Change-Id: Ib038c5e3ebb48c0e46569a35d530fa5ceaf06a32
| | * Improve playlist tests in tst_QMediaPlayerBackendYoann Lopes2016-10-281-2/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | Check media status changes when playing a playlist. Add a new test that checks constructed QMediaPlaylists. Task-number: QTBUG-49578 Change-Id: Ifbb7ee45b9633b684bd6a6fc653f96f391af130a Reviewed-by: Christian Stromme <christian.stromme@qt.io>
| | * Blacklist all media player integration tests on OpenSuseYoann Lopes2016-10-281-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | The media player plugin is not built at the moment on that platform. Change-Id: I47c6c0291853e997bd70d0c7be9942dfd00ee4af Reviewed-by: Milla Pohjanheimo <milla.pohjanheimo@qt.io> Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
* | | Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-08-171-0/+27
|\| | | | | | | | | | | Change-Id: Ib8d05d6e21c7beb19f618cd1edc52d248b1e43b8
| * | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-08-131-0/+27
| |\| | | | | | | | | | Change-Id: I3204cdf695f4b47730a88a7c41fc7a6de967b161
| | * Improve tst_QMediaPlayerBackend::playPauseStop()Yoann Lopes2016-08-121-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | Check the state of the media player when trying to play or pause without a loaded media. Change-Id: I6685f196457630eb9f4e834426c8e1b9a9eaf8dc Reviewed-by: Christian Stromme <christian.stromme@qt.io>
* | | Blacklisting playPauseStop() on all LinuxesMilla Pohjanheimo2016-07-061-6/+1
|/ / | | | | | | | | | | | | | | | | Changed the blacklisting of playPauseStop() to be "linux" instead of separately blacklisting it for each Linux distribution, since it's failing on all. Change-Id: I0b545423bf598b7487722bd5dda2d236be7131f6 Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
* | Blacklist cases from qaudiodecoderbackend in Ubuntu 16.04v5.7.0-rc1Simo Fält2016-05-231-0/+1
| | | | | | | | | | | | Change-Id: I0482247ce2f24d1b47f32fe403db8587b6f92abc Task-number: QTBUG-46368 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Skip integration tests when the service is not available.Yoann Lopes2016-05-091-0/+4
| | | | | | | | | | | | | | | | Don't try to run the player and audio decoder integration tests when the relevant services are not available. Change-Id: I34b0e68e11e3e81ad7bef8c1b6b840379ef54b7c Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
* | Blacklist qtmultimedia autotests that have been failing since RHEL 6.6Milla Pohjanheimo2016-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Blacklisted tests in RHEL 7.2: pullSuspendResume() from tst_qaudiooutput, playPauseStop() from tst_qmediaplayerbackend and testLooping() from tst_qsoundeffect Task-number: QTBUG-52673 Task-number: QTBUG-46368 Task-number: QTBUG-46689 Change-Id: If43763e5d6083492a79bb555a165c35217237201 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-alpha1Liang Qi2016-02-151-0/+1
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: If5d9ea0fb6187bb6f74881289ebb15a57eb82e0c
| * RHEL 7.1: Enabling make checkSimo Fält2016-02-041-0/+1
| | | | | | | | | | | | | | | | | | Blacklisting those test cases which were blackisted for RedHat 6.6 and which are not passing on RedHat 7.1 either Change-Id: I6750b7a6ed3305829153a4cce7714b0e969f0a98 Reviewed-by: Heikki Halmet <heikki.halmet@theqtcompany.com> Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-201-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I96559337481456cce6ea909fb7e53877acd352bd Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into devChristian Strømme2016-01-152-5/+10
|\| | | | | | | | | | | | | | | Conflicts: src/plugins/android/src/mediacapture/qandroidcamerasession.cpp src/plugins/wmf/mftvideo.cpp Change-Id: I78868b416ea4baec89ca3e2dc9eb4712db16d5fc
| * Blacklist tst_qmediaplayerbackend::seekInStoppedState() on RHEL.Yoann Lopes2016-01-061-0/+3
| | | | | | | | | | Change-Id: I150be89f71684890d65fd157a5b1782468636751 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Favor more commonly supported formats in qmediaplayerbackend test.Yoann Lopes2016-01-061-2/+2
| | | | | | | | | | | | | | Prefer mp4 and mp3 over ogv and mkv. Change-Id: Id24d475207ccf76e113557f9ad14775477f414aa Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Make qmediaplayerbackend::processEOS test less flaky.Yoann Lopes2016-01-061-1/+1
| | | | | | | | | | Change-Id: Ib961f3d4e238a156dc2e1ade1828ae8f1bf5b755 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Make qmediaplayerbackend::seekPauseSeek test less flaky.Yoann Lopes2015-12-181-2/+3
| | | | | | | | | | Change-Id: I05e4b9d392359bd84f9e932864a2e14275ef625f Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
| * Blacklist qmediaplayerbackend tests in OSX 10.11Tony Sarajärvi2015-12-111-0/+1
| | | | | | | | | | | | | | | | These were found to also fail in OSX 10.11 Task-number: QTBUG-46368 Change-Id: Ifac6fd0540ff63f3eb5198b5ac76c65ee893f005 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into devYoann Lopes2015-11-231-8/+12
|\| | | | | | | Change-Id: I0bee3f4e8721b9d2067495dde17be87a4b906245
| * Remove RHEL blacklisting for tests that passFrederik Gladhorn2015-11-071-8/+0
| | | | | | | | | | | | | | | | After installing the gstreamer plugins, these tests that used to be blacklisted pass now. Change-Id: I9be38ceb45f007930257d72d6b22a44ae661ad07 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
| * Blacklist a few test functions for RHELFrederik Gladhorn2015-11-071-0/+12
| | | | | | | | | | | | | | | | After installing the gstreamer-plugins, these tests still fail. Blacklist them until they get fixed. Change-Id: I5acbd5a4911253e96e40e30a2faf161bfa387989 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into devLiang Qi2015-11-051-0/+1
|\| | | | | | | Change-Id: I64a2e98adeb387e532f0b22129ade7ca7e8dc22a
| * Blacklist qmediaplayerbackend test on Windows 64-bits.Yoann Lopes2015-10-301-0/+1
| | | | | | | | | | Change-Id: I3cdb89a0189c5089a4e65218db9604010da97a2c Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests.Friedemann Kleint2015-08-241-1/+0
|/ | | | | | | | | There was only one test actually using the deprecated WaitForWindowShown(). Replace by qWaitForWindowExposed() and remove define. Change-Id: I2e71edca8f8be26c9a63b6a9d1fa30b31979c1fe Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* Exclude failing tests on RHEL and UbuntuSimon Hausmann2015-07-231-0/+4
| | | | | Change-Id: Ifbfb36f47da5f826c94777286fde27d5edd29d01 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Extend test exclusion for this test on OS XSimon Hausmann2015-07-231-0/+1
| | | | | | | | | | The test doesn't work on OS X 10.9 and 10.10. It also doesn't work on OS X 10.8, but the current CI system doesn't actually run tests on 10.8. In the (future) event of us running tests on 10.8, this change is required. Change-Id: I6cbe6249aee2460353322d6f1254858238af3711 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* Blacklist cases from qaudiodecoderbackend and qmediaplayerbackendJani Vähäkangas2015-06-302-1/+49
| | | | | | Change-Id: I73156f18f79afbdb26ba31462162dde9c1d0094b Task-number: QTBUG-46368 Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
* Update copyright headersAntti Kokko2015-02-121-7/+7
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I1c6faa4f59f8eca54f01ef20941fa60161dd7872 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
* GStreamer: port to 1.0.Yoann Lopes2014-11-271-2/+2
| | | | | | | | | | | | | | | 0.10 is still used by default. To enable GStreamer 1.0, pass GST_VERSION=1.0 to qmake for qtmultimedia.pro. Contributions from: Andrew den Exter <andrew.den.exter@qinetic.com.au> Ilya Smelykh <ilya@videoexpertsgroup.com> Jim Hodapp <jim.hodapp@canonical.com> Sergio Schvezov <sergio.schvezov@canonical.com> Change-Id: I72a46d1170a8794a149bdb5e20767afcc5b7587c Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* Add metadata test for qmediaplayerbackend auto-test.Yoann Lopes2014-09-262-0/+38
| | | | | Change-Id: I419496293b11b6a941af08e9709595458b7ca423 Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* Android: fix some problems with the media player.Yoann Lopes2014-09-261-21/+225
| | | | | | | | | | | | | - Correctly emit positionChanged signal. One of the problems with this was that QMediaPlayer automatically sends periodic position updates while playing a media. There's no need to have the same logic in the backend. - Seeking after reaching the end of the media now correctly works Auto tests included. Change-Id: I6d5ecbae6e05f94a8aac1a0834cf57427adf219b Reviewed-by: Christian Stromme <christian.stromme@digia.com>
* winrt: Add media playback serviceAndrew Knight2014-08-251-0/+4
| | | | | | | | | | | | 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>
* Update license headers and add new license filesAntti Kokko2014-08-241-19/+11
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: Ied06887225df341064c12bcc14c259ae74116f2e Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Prefer to use normalised signal/slot signaturesSergio Ahumada2014-03-031-4/+4
| | | | | Change-Id: I48ae4b46f7a0342a1436ba78958b057e919e3a8a Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Use QVERIFY2 for elapsed time in tst_QMediaPlayerBackend::seekPauseSeek().Friedemann Kleint2014-02-171-6/+10
| | | | | | | The test has been observed to fail sometimes, try to obtain values. Change-Id: Id0374b7ad3d593c099500e771bc4d8cc50f26651 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101-1/+1
| | | | | | Change-Id: Ia8c1c38aba1544603fada8c414cc856f365fd15b Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* remove some unnecessary CONFIG additionsOswald Buddenhagen2012-12-161-1/+0
| | | | | | | | qt is already added by spec_pre.prf, warn_on by default_pre.prf, and no_private_qt_headers_warning by qt_build_config.prf. Change-Id: Ia5cee420d577dd0ae0120cb2dd430d4ddd29ebcf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>