From 372349a1b4f01e4ad5470ed2403fb20d4a0b0214 Mon Sep 17 00:00:00 2001 From: Samuel Mira Date: Tue, 11 Jan 2022 17:58:56 +0000 Subject: Fix Android sending a single video frame Android was not sending video frames automatically, and it had to readback frame for the next frame to be available. This patch forces the emit of the frameAvailable. Fixes: QTBUG-99650 Pick-to: 6.2 6.3 Change-Id: I7559c65b734724d4e21bbb9b2e7f3a3ae8de97d2 Reviewed-by: Lars Knoll --- .../integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/auto/integration/qmediaplayerbackend') diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp index 058183c6d..0cbee4ba8 100644 --- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp +++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp @@ -118,12 +118,6 @@ public Q_SLOTS: if (m_storeFrames) m_frameList.append(frame); ++m_totalFrames; - -#ifdef Q_OS_ANDROID - // in android it is necessary call the frame map for the - // AndroidTextureVideoBuffer to updateReadbackFrame - static_cast(frame).map(QVideoFrame::ReadOnly); -#endif } public: -- cgit v1.2.1