| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I59830dad9d79046c99b1d59d8c26c4b3a59791e9
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
| |
Change-Id: I5ad8d2519c1b83b7cb19d291dba21853ffb0d73b
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit b1a0bc9d454793d705a4aba84b301d3f8dfb50ea (Prevent immediate-stop
of currently-unloading gst recording pipeline) make sure that CameraBin
Control will delay QCamera::unload() if the camera is busy. However, it
didn't update the handleBusyChanged() to also do the unload when busy
status changed.
This commit make handleBusyChanged() to handle both delayed stop() and
delayed unload(). This make sure that if unload() is called when the
camera is busy, it will eventually be unloaded.
Also update the log message to properly print the delayed action.
Task-number: QTBUG-65398
Change-Id: I2a752265fb082fbc3feb895f1cf904202df155c9
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
GValue can contain allocated memory. Not unsetting it can cause memory
leak. This patch adds g_value_unset() calls to various places that miss
ones.
Pick-to: 5.15 5.12
Change-Id: I78e0f8f6c558ada0e7828c11094132359c579c2a
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since when the application is active and then moved into the background
then audio can be played fine.
But if the application is already in the background then it will not play the audio.
Decided to set AVAudioSessionCategoryPlayback with AVAudioSessionCategoryOptionMixWithOthers
to audio session, which leads to restart playing from the background.
Fixes: QTBUG-69949
Change-Id: I18fb4904b0810b7dfb63585278edbb8ee2f02d05
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Can be used like:
QCameraImageCapture->setCaptureDestination(
QCameraImageCapture::CaptureToBuffer | QCameraImageCapture::CaptureToFile);
Both CaptureToBuffer and CaptureToFile are supported.
If CaptureToBuffer is requested, then it sends imageAvailble signal
If CaptureToFile is requested, it sends imageSaved
imageCaptured is sent only if there is the video frame available.
(e.g. when abstract video surface is used as viewfinder)
Pick-to: 5.15
Fixes: QTBUG-85470
Change-Id: If22281e4d0eacfb0d38f8b1c8b676191817f592e
Reviewed-by: Ihor Dutchak <ihor.youw@gmail.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For QVideoFrame::Format_NV12 and Format_NV21 formats
added a possibility to provide the video frames in
QAbstractVideoBuffer::GLTextureHandle, MTLTextureHandle multiple textures.
Currently QVideoFrame::handle() is used to have only one texture.
Which limits the video frames only for RGBA format.
NV12/NV21 requires 2 textures, one for chroma and for luma components.
So QVideoFrane::handle() must return a list with 2 native handlers.
The patch allows to render the video frames in NV12/NV21 formats
with multiple textures, using current QSGTexture's to avoid
uploading/downloading the data.
Change-Id: I3e6e734948a43dc77bfd2dcacb69cf8ffefdb813
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
| |
Use qmath.h's value for M_PI in shaders (where we can't use M_PI
itself), instead of a different hand-rolled value in each.
Task-number: QTBUG-58083
Change-Id: I8d3acf0e6f46e2a8cae78c83c122e2b90db31f7c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: Ida0d0494f46079ac3934742539965fe78a0d2f8c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 73d9affb0c44dc21d83e9aeec5e4d83bc57d189b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I6dd611adaf4fbabf17e925e0f23fbf977529dd2c
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
| |
Change-Id: I3cb5a7839dc1648efdf1f4a9a317d7c52232495a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
| |
Since compare() can be called before updateUniformData()
Change-Id: I7a1e0a08926cbf6d5629468b8bf64dcd7602b399
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
| |
Regenerated all files to be up-to-date
Change-Id: Idc1ef58659500bc3f56b41dab92f5600d0e3e46c
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
|
| |
qwindowsaudiodeviceinfo.cpp(132): error C2027: use of undefined type 'QIODevice'
qwindowsaudiooutput.h(151): error C2504: 'QIODevice': base class undefined
Change-Id: I64c3f90f19936eb6db65b8a71980d19ceacc1b1c
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
| |
Change-Id: Ia64872eef299b2583a21ea40403cb0d281baf3e6
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
| |
Change-Id: I212f2544d8422955e7da22810c2e98a23b7857c0
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
| |
When the video frame is unmapped, the data might be invalid
Change-Id: I0f5db581995ceb0a52ccd69a81a8f04690f3ebfc
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-74423
Fixes: QTBUG-84596
Change-Id: I21184ee24cbcbd5091e3466b132301e80bfad7d8
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
|
|
| |
Only glimagesink requires updated render rect.
Change-Id: Ib30bf364edda4cd088a1202bbd5c958b552ba999
Fixes: QTBUG-85545
Pick-to: 5.15
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
| |
call of overloaded ‘bounded(qsizetype)’ is ambiguous
Change-Id: Ie0f5a0394627345aca7c0a4a028d1048cf0405cf
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-85235
Change-Id: I8d3175b2bc9fe07a6f110b12b4b170ad5305397a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
| |
Change-Id: I463d3a1541cee1fcf4a6b6d1e2e1eac85fbfc682
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-78678
Change-Id: I61a62b71f5731949a7e1094efc854bd3d7d1aa6a
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
Since it uses gl texture, which can be replaced by default sg video node.
Task-number: QTBUG-74423
Change-Id: Id00748ccf18595d8ea782378c512c7fca6fe0229
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a video surface contains gl context, it is now used as a share.
Otherwise nothing is rendered.
The gl context is set when updatePaintNode is called for the video output quick item.
Also context's offscreen window now should be on the same thread as the surface.
Task-number: QTBUG-78678
Change-Id: I8f2bdd56a5ce209edc206b74ffa5c48e34e7218f
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 5.15
Task-number: QTBUG-85202
Change-Id: If40af4af211af86311c0e04a8bdd0627dc34a939
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
|
|
|
|
|
|
|
| |
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I5466906d759a7cc046d77a21e2c647a4b938d070
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-84469
Change-Id: Id8d07836a66e4d9223341483bfe0ed251ba2806c
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
|
|
|
|
|
|
|
|
| |
WinRT has been removed already
Task-number: QTBUG-74423
Change-Id: Ia1269a52f02a24ba67e08e6cc1f451ba50b55fdd
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
| |
Not supported in RHI
Change-Id: Iad0a360c9378ffbfe57070881fc94d807b3d1235
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
| |
Requires WinRT support
Task-number: QTBUG-74423
Change-Id: Ice9788df3e503c4c111bc6524c509e93dbf407c5
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
| |
Change-Id: I625bb06f81ce9860d49d7998cc49c304f2d6b848
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
| |
Pick-to: 5.15
Change-Id: I8fbff45f5ebae681ab37cfd0ab0acb79eec88864
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-84319
Change-Id: Ic342142dd17591159ee84139157e5ed613b03682
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
| |
Fixes: QTBUG-84592
Change-Id: I3b9e51689fd542c35cb57cf6c51a141aec3034df
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
|
|
|
|
|
| |
Change-Id: I927998b9ffa80a324636855c5dcc92cb57e9d520
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added MTLTextureHandle to render metal textures.
Is used by default if rhi is enabled for metal backend.
Also fixed the frame renderer to create new opengl context
and use provided one from the video surface as a share context.
To remember, when the quick item is created and updatePaintNode is called,
current gl context is set to the video surface as a property.
When the frame renderer is ready, it extracts the gl context and uses it as a share one.
Task-number: QTBUG-78678
Change-Id: I51ce666ca7c2adc10dd2c1d1dfed99cc9f596e2b
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If just devices are requested, no need to apply any categories
with activation of audio device.
Postpone setting category and activating audio until
actual playing is requested.
Categories/options for input devices:
AVAudioSessionCategoryPlayAndRecord with AVAudioSessionCategoryOptionMixWithOthers
For output:
AVAudioSessionCategoryAmbient with no options.
Pick-to: 5.15
Fixes: QTBUG-83776
Change-Id: I9364bdea2882bc23039817207eca62b311841ba6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Regression since d8d072417b08dd75734b3f0aa86c3a49db934770
Pick-to: 5.15
Fixes: QTBUG-84556
Change-Id: I557ac7eb38ebdbb6c52e5348902ee8c3f1a91f07
Reviewed-by: <roman.valov@gmail.com>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
|
|
|
|
|
|
| |
5697799 in qtbase changes build() to create(). Follow these changes.
Change-Id: Icad272f8d3280c15ac4d8a635af90b4bf1fd1437
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
|
| |
Now QSGMaterialShader handles rhi textures too.
Task-number: QTBUG-78678
Change-Id: I410185c80bd104741fd5b52deeb87eb97531410a
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I942647d8ec8baad7ca910db83bc12c400010db42
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
| |
Change-Id: I2aa2334f7408164bf288d82b28e4e6aff9a2503b
Fixes: QTBUG-84593
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Used QUrl::toEncoded() instead of QUrl::toString().
Usage of QUrl::toString() leads to URLs which can contain spaces and as
result such URLs are not accepted by AVPlayer, and it remains in unknown
state because AVFMediaPlayerSession::processLoadStateChange() is not
called at all. And as result, QMediaPlayer waits media loading forever.
[ChangeLog][Platform Specific Changes][AVFoundation] Fixed playback of
files with spaces in their names.
Fixes: QTBUG-84585
Pick-to: 5.15
Change-Id: I69e522d048d88310803a7040f114ee808c18720b
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 5.15
Fixes: QTBUG-52455
Change-Id: I30582582935ae0a2c5094db995cba83b62adc767
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The imx6 vivante implementation of videonode used by qtvideosink
holds reference to two frames during rendering.
It releases the first frame only when it receives the third frame.
This makes jerky playback when frames are not coming at constant rate.
It displays the previous frame during video playback.
Change-Id: If306bdcd358fac46a1fd0000ccb068424aee813a
Reviewed-by: Karim Pinter <karim.pinter@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
(cherry picked from commit f48e16dc45cde8f634823c40aa573b18673cf13d)
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
examples/multimedia/audiodecoder/audiodecoder.cpp
examples/multimedia/audiodecoder/main.cpp
src/multimedia/playback/qmediaplayer.cpp
Change-Id: I8cf1293023c09069745aa3aa6df49b1e0a8a1c22
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I9525c18e6a29b8c6cbe3398264a096bde24eca10
|
| | | |\
| | | | |
| | | | |
| | | | | |
Change-Id: I6df92f98db7c18dcecdc831d46748d8111dffacb
|