| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I0785ab4d2a3988cf74a15819333669c02e11208d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The max-size-time property of GstQueue expects a 64 bit
value. Passing in a 32 bit value on 32 bit platforms would
lead to the following nullptr to get mangled in there leading
to bad errors.
Fixes: QTBUG-97379
Change-Id: I24c4f6081b5d7eaa6c70d946b5aa9e0a12266da4
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 77e7a763ea4ae3e9e3191e0f05fd0bbaf9b090bc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-97622
Change-Id: I31d344401ce5adb64e5e356a39fe6647a6618469
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 1040fb6de4206dfe7f19c55de198b5db26b48d17)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ibe0c3497c9e8e914ac7a2475d6b5eaa5705ec933
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I4005b32ecfc046907e1d8a3e964b9f10b1e7aeb2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A user provided file path was not resolved to an absolute path, which is
required by gstreamer uridecodebin. This patch resolves any type of file
path to the absolute path. An input URL without schema is treated as
a file path.
Fixes: QTBUG-96985
Change-Id: Ibc0ba8b6673e2cc93d428ab19450a0aa44216a9b
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 8a3806f6263f56b5be5b557e321b9b13d1913d5f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handling a back button with in Android in VideoWidget was not being
handled. The app would get back to previous screen but the VideoWidget
did not stop fullscreen mode and would continue reproducing behind the
UI.
Fixes: QTBUG-96750
Change-Id: I2b9fbfc91275cf024e8f5f54f368eb4d96f705b5
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 350c6b6f970de73d1e1fda91ec453f8c7255138f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let it record a bit, otherwise we don't get anything. Don't check
QMediaMetaData::Date, as some encoders set that on their own. Instead
use Language and fix issues in correctly writing the language.
Change-Id: Ib5e2bacc053814afc2fafdae65330950e591d6fc
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 839cb46628b197d0a851c78d518186881e047272)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ie89e2ae8718e284b18ff657b31186817125726de
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Fixes QMediaPlayer jumping to wrong position after seeking while paused.
Fixes: QTBUG-97152
Change-Id: I133f980745f60b10a188dc1edc06cdb44777afa0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 9285ad4a87c47d2744124f14aebe710e1ee55517)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MFPlayerSession instance can outlive its associated MFPlayerControl
instance, since MFPlayerSession is a COM object that can be referenced by
other objects and will only be deleted when its reference count goes to 0.
So, it could end with a dangling pointer to the released MFPlayerControl
instance, which would cause a crash when it is used in the timer callback.
This patch should help preventing crashes in other conditions as well.
Fixes: QTBUG-97069
Change-Id: Id1e303e9727019d00a3765dcde35805c51ca335f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 4e646c2586c27183497eb8078829a4000c06edcd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly fixes in the auto test to ensure it works correctly.
Add one log message to the image capture backend in case we
fail to save to a file.
Change-Id: Ie631ebfdd45d16a16a5b7e22d8bbe00db78afd6f
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit bce240a6c2415ecde8a6936592e7be6f26874ef3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid sending a video frame while we're in stopped state. This also
gives us a more consistent cross-platform behavior where the other
platforms also do not send any frames before going into paused.
Change-Id: Ifd0b0ad781f9a4feea3595847cc899b03078a747
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 4c42f87adb78a2f2dc8765b6b607b3caad3de7fc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the gstDecode element from the pipeline before setting
its state to null. Otherwise we might end up with warnings
as the state gets set back to running by the pipeline.
Change-Id: Ie9da9fdd7e0aaae59564c19c20f001c54c150786
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 3c215df0155189083cd8921f1c4fd9c3147c7c11)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A default constructed video frame should not allocate a d-pointer.
That way we can reliably detect equality between default constructed
frames, something that will be needed to avoid emitting excessive
newVideoFrame() signals from the QVideoSink.
Change-Id: I721f74e3e4ed229dcfd431358b01141d7a6f6721
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit f29274d5967f23893d57dad6a225419ce8f34ab1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a critical gstreamer warning on the qcamerabackend autotest.
Without it we will not save any meta data set by the user.
Change-Id: Icad265eb1bea4945187b5eb5437c0b05fdf668d3
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit e89aa13f27c09105148fcc725f619eb85bdb6bb4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-96955
Change-Id: I4c9d2da8d8f0dd3af9ce7482deaab3dedafa7755
Reviewed-by: Samuel Mira <samuel.mira@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 925b0a7f33335fca4c416aaa593c9210e87149d2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Idcafd744f959380e31ec24b464c7254ce73b1240
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Id333dae8d6ea085f784eabcf504589a882511a6e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I2ee75b7c5292e38c0a6208e028cd4885ba1c4daa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
After the fix, the app will no longer hang after back button has been clicked.
Task-number: QTBUG-96947
Change-Id: Ia2adb7f493d66a3df0961793fd6bc5f998ad4764
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 5151712f9592e6855f6aeb79ac36f6ccd105fa82)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed the resolution list (widthxheight) to camera a format list
(PixelFormat widthxheight MinFps-MaxFps FPS)
Changed the Frames per Second to be a spinbox and a slider so it would
give feedback of the selected FPS while being easy to change on a
mobile device. This way users can fine tune how many fps they want
for the capture (previously was either min or max)
Set the selected cameraFormat to the camera in the captureSession
since it was needed for saving all the changes and it fixed QTBUG-96739
by coincidence
Fixes: QTBUG-96719
Fixes: QTBUG-96739
Change-Id: I9eaacfbf860d8a4d03c2044b41de5d84139b3b17
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 806325a271bf84a0ac359237d1b9a449c0987e8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ibb68b61137888501a316c1124a5539888f48ab10
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
The default constructor of QCamera should pick the default
camera.
Change-Id: I847a2cc65470bf337da6f070d9abbaa3c478f055
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit c4ed9080cb44b4cb61f7e26a48c9ad70c0227983)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calling stop() on the audio sink from QSoundEffect could deadlock
as it locked a mutex in QDarwinAudioSink::stop(), end emitted a changed
signal with the mutex held.
Change-Id: Idbbcb8fe76f43376a90113810926f4311c37e49c
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit ca5692481e2192163b33dc3e9e613116ffc87aa3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the remaining test failures on macOS:
Increase timeouts in tests, as those often caused failures.
Fix a couple of behaviors in the platform specific code, to
ensure we handle errors correctly.
Change-Id: Ib1a0949f5e65a0fb3d0b89a5508631d1faa7cf1e
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 93e90f07f207b75332f8b64a37c80f1fa5f87db0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Adding missing QT_WIN_CALLBACK / QT_FASTCALL
Change-Id: I5ba5a6341a988f162b9562c9fd328b9d90c6e1ab
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 3c7434025c5e14c2b3027a13ce90aab49712156c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I1cd23b336a01dcd08ca2edc429ef12979bac9ad5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
There are still quite a few test failures left, but at least
the test now runs through.
Change-Id: Ic750cf619bb2992daf620cd2a6b4038ffec9abb3
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 16bcd8bcd3e1b5df5db00695b6013608a2c05407)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Change-Id: I9739395cd5b97674b02bec555d974a2e3e901ba7
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 1b667b9927fd07b37c1a1c62c6858b5381ad595b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I423475eb8dc12b1a7d24be79315d71e1c617d2a3
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
| |
Change-Id: Ic9088fb6565799522f9a88db5a19efdc1055d304
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a missing id property in the snippet and remove
another one that's not being used.
Fixes: QTBUG-96984
Change-Id: I13d1c64fe72dc5fc9d50e2817e9df11d9148b3c5
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 6cb1b78921de3af329d6a5aae95599ee728788c5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The signal is called "error" in the platform class. That's
inconsistent and should be fixed, but for now adjust to the
existing name.
Change-Id: I04923cc8de1c8ba04bb3f2064d8068a0737b95c4
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 0916d9f96b10c3dad5d9840c6050e861bf22d887)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need for the assertion. If we receive partial
samples, we can simply ignore that partial sample for the
max volume calculation.
Fixes: QTBUG-95063
Change-Id: Ia1022f87ac4f23e154fc7627ace477c07ecef55a
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit d890688776853ccf0323d1278a477d791b13f248)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I54d42983ee5a352f74c6108a67b71331e85e006c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current camera rotation on camera session is compensating the front
camera image for preview, but it seems the android is also compensating
when recording. So final video became flipped again.
Fixes: QTBUG-96943
Change-Id: I0d08de15bab41926136c2a4b96154b9e2b5f5bb8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 9263cca59a4952bb95c94d433b05c77cdcbb3e8e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If an element is a part of a pipeline bin, the bin tries to synchronize
its state with its own. Thus, after setting the element state to NULL,
the state can be set back to READY, PAUSE, or PLAYING before it is
removed from the pipeline. This patch first removes an element from
the pipeline and then sets its state to NULL to avoid this race.
Change-Id: Ied9cd037fabab19682a53c5ab3d0c7335c58d9c9
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 078701abf256fb91cd9824cc8e6d48556200c1ef)
|
|
|
|
|
|
|
|
|
| |
Current value should be empty to reflect the branch status.
Change-Id: I9c29f548f37af996251a2c0d55b0e74945814880
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c3cb32414317a7e9cb6ddd29a6163ec5aa652a15)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I043f031dc998aaa1b185a70fc4fb5fd99ad55bd2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I57310647674dff29794ecdddf91cd10d84cd985a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Remove debug output that made it in by accident.
Change-Id: I45da0d9b5b97a1bacdcd057cbf54eda938fd97dc
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 0964df62a9d6e1b2cdeeb201f4e06481c3f5a760)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
When disconnecting the recorder from the session, the recording was
abruptly terminated with a call to finalize(). Instead we should call
stop() and wait until the recording is finalized.
Change-Id: Ib93f2ddc7bd49dbf67cbe703eb18a0f82eb127d9
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 23fa175907e19ecf1b33acab5751662bff0070b2)
|
|
|
|
|
|
|
|
|
|
| |
The patch introduces dynamic pipeline modification instead of set to
pause -> modify -> play method. The pipeline is never stopped.
The downstream elements are reconnected in the idle probe when needed.
Change-Id: I4423745a9d229e509aa161cd6a0a28647f5579e9
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 81a3ea8ef3868818bdca2fb3fb7a76553f9b35ec)
|
|
|
|
|
| |
Change-Id: I2a71e17d8913f1232a04e85c0bf3aaba3651f504
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the fix, we get a list of available resolutions and frame rates of
the camera. This also fixes the code in the widgets camera example that
uses the video resolutions and frame rates.
Task-number: QTBUG-96097
Change-Id: Ie5fa1e89f658f0c816015944fa5a4c1f34625c12
Reviewed-by: Samuel Mira <samuel.mira@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit bf455a536148af767bff45ee3186740cc681d58b)
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Gapless looping is important for a couple of use cases where
you want to play back some file a couple of times.
Task-number: QTBUG-95010
Change-Id: Idd089f0702acaf3cab71987656f017f4c7fa4c54
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 23333fb4be2293ceaf129fec134ea687a30596d9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The onApplicationStateChanged m_state was being changed on setActive
rewriting the state that was supposed to save
Fixes: QTBUG-96944
Change-Id: Ic90297bd0962fecd6a420ef6e84164b1df1a3bce
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 29f829183b28b950c0396c26d7d50a03353796de)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Id771d741f4ae703cec950d2c73c0ee819d05d146
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
After fix you can mute/unmute input source.
Task-number: QTBUG-96097
Change-Id: Idc47eb9a50d4970e96f4a5ed42db55d38e1aebeb
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 665060d740b37094d87f9bd71a54d95aa5ced548)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|