| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: I8b7432f3108105699006c375f90bfe3ad0e5748c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QPulseAudioSink:write() takes a length parameter which is set to the
qMin of itself and the return value of pa_stream_writable_size().
This method returns the number of bytes requested by the server,
but not yet written. Unless data is buffered, the value is 0.
That leads to length being set to 0 and no data being sent.
In PulseOutputPrivate::writeData(), a loop was implemented calling
QPulseAudioSink::write() up to 10 times for each data chunk.
That forced data buffering and subsequently the return value of
pa_stream_writable_size() to be > 0.
This patch replaces the query of pa_stream_writable_size() with the
nbytes value modified by pa_stream_begin_write(). It represents the
maximum amount of bytes the pulseaudio server is ready to accept.
The patch also removes the loop calling write up to 10 times as it
becomes unnecessary.
Fixes: QTBUG-60575
Change-Id: I316a5ac610c8540ab8f7fff4a3b0b1ee3d7e7ad5
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit f1829a24d4c9a393f95d55c415daa80275a90b93)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This ensures that on non macOS platforms that it will create a new
material when required.
Fixes: QTBUG-102316
Fixes: QTBUG-102413
Change-Id: Iaec9c7a5950f19bf0de046e4052234fe26472342
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
| | |
|
|\|
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: I130d0256d152d5c8bf44db8f5218100d6ea898f0
|
| |
| |
| |
| |
| |
| | |
Fixes: QTBUG-101450
Change-Id: I93ab8a9b788eb74b4ef2227b90e30a42a84b9fd6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
It's flakey.
Task-number: QTBUG-99362
Change-Id: I40b4525d1710a68da174635cf067876eeb7331b4
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| | |
|
|\|
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: Ibcb201720a2949a9c57d8bafc83afcaf5d8e20e5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When updating the player item of the AVPlayer, make sure to remove
the video output (AVPlayerItemVideoOutput) from it. It will be
added again to the updated player item on the next call to
copyPixelBufferFromLayer.
This fixes issues where the last frame of the previous video source
was sometimes flashed before rendering the new one.
Fixes: QTBUG-87000
Change-Id: Iec66f0e27efe621d1992a2a0f9f5060aa51f7076
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes rendering problems on M1 based Macs.
It also unifies the rendering pipeline between macOS and iOS as
much as possible, and avoids an intermediate copy to an FBO,
Since AVPlayerItemVideoOutput produces GL_TEXTURE_RECTANGLE
textures on macOS a new QAbstractVideoBuffer handle has been
added that explicitly maps to GL_TEXTURE_RECTANGLE.
We use this handle type internally in QSGVideoMaterial_Texture
where we know how to blit GL_TEXTURE_RECTANGLE textures.
To maintain compatibility for QAbstractVideoSurface consumers who
expect GL_TEXTURE_2D textures we blit the rectangle texture to
an FBO returned as QAbstractVideoBuffer::GLTextureHandle.
Fixes: QTBUG-89803
Done-with: Lars Knoll <lars.knoll@qt.io>
Change-Id: I36d22eafb63902ecc1097e138705812ef6a8cb71
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Properly unref the video and camera source objects when
changing the input device.
Fixes: QTBUG-93762
Change-Id: Ibaf08978b6915faa668ef0ab54b3bc0903daafad
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
| | |
|
|\|
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: I725962188e023f6a05333eca71cd14aa48ab7506
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The pa_stream_flush() must be called with pa_threaded_mainloop_lock()
held, otherwise it is possible to corrupt internal PA state. The
PulseDaemonLocker implements this lock and other pa_stream_flush()
instances within qsoundeffect_pulse_p.cpp already instantiate the
PulseDaemonLocker to claim the pa_threaded_mainloop_lock(). Add the
missing locking to ::setVolume pa_stream_flush() call too.
Change-Id: I667b1df669f839737c6cedb62ff66b612bdd65a0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The .pro file for the QNX audio plugin did not set PLUGIN_CLASS_NAME,
which led to incorrectly generated CMake files.
Fixes: QTBUG-93747
Change-Id: Id91550959c935195262c3babbd8433ab151eac95
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
|
| |
| |
| |
| | |
Change-Id: I127b22ada9ce43fb384a6e6b18dbc458f4ccd434
|
|\|
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: I6c367c0f2b9609ce45fb9522a546be508e449c70
|
| | |
|
|\|
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: I420317b3aae2dd9380cba6ee8da9fffb1c86981e
|
| |
| |
| |
| | |
Change-Id: I9b7852727e682903ce1f324ddedd4ab411b6f3bb
|
|\|
| |
| |
| |
| |
| | |
tqtc/lts-5.15-opensource
Change-Id: I6568139d7193f5b04b50f0f31ddff4d9bac8e65a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
YUV420P and YV12 formats use three planes which need 18432 bytes in
total:
- height × bytesPerLine = 64 × 256 = 16384 bytes;
- height/2 × width/2 × uvPixelStride = 32 × 32 × 1 = 1024 bytes;
- height/2 × width/2 × uvPixelStride = 32 × 32 × 1 = 1024 bytes.
NV12 and NV21 formats use two planes which need 24576 bytes in total:
- height × bytesPerLine = 64 × 256 = 16384 bytes;
- height/2 × bytesPerLine = 32 × 256 = 8192 bytes.
Fixes https://bugs.debian.org/982973.
Change-Id: I68433dbb5370a6e4cdd2a85e2a9554fab642f5b6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 1c2a8655ac3dd5f8de5294a77ac5e585add82229)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the video output is no longer attached then it will cause a crash
if you try to remove it, so we need to check it is attached before
removing.
Change-Id: I90a119ae8e605ee88740248c94c7cea03acf4d50
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 8b72da5f4b2d81444c731bc4e8eafca59e693bf6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CoreAnimation OpenGL renderer only has support for pre 3.0 profiles.
Changed CoreAnimation renderer to use a Metal texture for rendering
and use a pixel buffer to share the texture data with an OpenGL
texture, making it possible to render with 3.2+ profiles.
Fixes: QTBUG-51064
Fixes: QTBUG-62694
Change-Id: I48a4a6e0d8fbc48170dfe82d1e71cd265d70179a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit abab792c4f0977a4599e5b7b2e97a5ee586fe388)
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
| |
| |
| |
| | |
Change-Id: I2b16e3e106a6bd672ffc092a68f8d39bc4b6c0a8
|
|/
|
|
|
|
|
|
|
|
|
| |
This reverts commit 80d46e3a5f64ff2456c40bdba63b6d5c69a32cdd.
Revert of commercial license headers is required for Qt 5.15.3
opensource release.
Task-number: QTBUG-91108
Change-Id: I5c64ffa120f916711e5cf01c828774f8456dec06
Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Build the imx6 videnode plugin only if gstreamer is available.
Fixes: QTBUG-91154
Change-Id: Ifdbd88fb2fb40c3bc99c641936dd87ec36a42f59
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
(cherry picked from commit e10622759d179f8ae304c0bef8a6f56ea7d0dc23)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-90997
Change-Id: Ib007ebf6c9459df3583fd44b0347827514e90d83
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
(cherry picked from commit fcb3c8bfb84038462258ae242da9bcb8e9c2389e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated header.COMM to files in tqtc-qtmultimedia. Examples,
tests or documentation files are not updated.
The commercial license header may contain some
additional lines so that its line count equals
with the earlier license header. Reaso for this
is that some autotests use hard coded line numbers
and a change in the line count causes failures in
tests.
Task-number: QTQAINFRA-4171
Change-Id: I86ebf7c3653b55983cefff246c0cb019cbcda8c4
Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 2b96c113cf7057b556856149114999b973b3f2c2, due to the
fact that it introduces a problem with existing cameras on Windows. So
reverting for now until a fix can be found.
Change-Id: Ica59c8a68de7aecf6a4ebd1bd044363e9acefd93
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 67d1ff140e60e3372d05fc7af2cf85de891a31f0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 6d70c875615ffc9c315e203530aac0d320185701 Add changes file for Qt 5.15.1
+ fd2bb11b9c9f4a0cff99ed21d9e5291ff5ec065d AVF: Introduce QCameraCaptureDestinationControl_iid
+ b34065e03e467d2c2b7a04e84bbec815f595220c CameraBin: unset GValues after finish using them
+ 9862bf04d18d8453c5bf2667768c0b8fbafe512c Gstreamer: fix camerabin's supported focus point mode
+ 67cac1524f56af09289eb76b5e2a38ca6d2a78c6 DirectShow: Use also pin category when negotiating
+ 4b26133b1cac084a61dbbf68b3fff711ca49f712 Bump version
+ 4ca84a8ae95d2703d2459d6335c4420ae32b37b6 Fix nullptr dereference in directshow plugin
+ 732b1abff8eaa6ac5ff0414aea25ad7617dab2e8 Add changes file for Qt 5.12.10
Change-Id: I4f45ad937938681a7a233e975ce9290ddaa84105
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
(cherry picked from commit fd30913d4601d12437404e1d20113a1ed6364ccc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
| |
Change-Id: Iba4de35238fedfa798b366a4e36aed63405a6583
|
|
|
|
|
|
|
| |
Change-Id: Ic670af0c1e8ef7962bddda0f0a3b7f547ae25e69
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 67ab370d6a87d3b44e1cc4efb0f3fc57d5ac751e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Init pointer before trying to dereference it in directshow plugin. This
fixes a crash trying to play a video when QT_DIRECTSHOW_NO_EVR is set.
Change-Id: Ie42eff035bd7fe173ca629c68b1228dc760c717d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit c6e934601a3405f80c601aac207b09588e291b89)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
| |
Change-Id: I627825062e6ee71998c136e3489a7c33011b8c76
|
|
|
|
|
|
|
|
|
|
| |
The pin should be negotiated once and use PIN_CATEGORY_CAPTURE.
The same logic is implemented in chromium.
Change-Id: I89ac13c1a7e982c1011b2a872e853ee5bc2036b2
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
(cherry picked from commit bf82ab669c53c4b9abb724e197252a788323095e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit be7fef656a1d087d3d1d3fa102da4fce85855935 (Add support for face
detection focus point mode to camerabin backend.) updated camerabin's
isFocusPointModeSupported() to indicates face detection mode support.
However, it forgets to remove the old code that says only auto and
custom is supported, making the face detection never reported as
supported.
Change-Id: I76627e0b72fb94cd1370bc990edd6c748086a5d9
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
(cherry picked from commit ce6440c999c34a2b80fa25121e893eccf68203a5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Change-Id: I78e0f8f6c558ada0e7828c11094132359c579c2a
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
(cherry picked from commit 24ac478e50dab189b53c749b34971a807aa6da4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Fixes: QTBUG-85470
Change-Id: If22281e4d0eacfb0d38f8b1c8b676191817f592e
Reviewed-by: Ihor Dutchak <ihor.youw@gmail.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit cdd87907722aff14c393dba02b7e43c924b60d06)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
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: Ie596b8a54749b7dd6c2c069da8d77cb74369be0b
|
|
|
|
|
|
|
|
|
|
| |
Only glimagesink requires updated render rect.
Change-Id: Ib30bf364edda4cd088a1202bbd5c958b552ba999
Fixes: QTBUG-85545
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
(cherry picked from commit a553c7d1b63defc963a043e363f8d75d255e9c72)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Binary compatibility files added.
Change-Id: I9860ccffa2492e6cb5f9586ce4476b416e6a161f
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
| |
Change-Id: Ibd23ac674e8ba5c0b2d3cea619d0f823a058baab
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-85202
Change-Id: If40af4af211af86311c0e04a8bdd0627dc34a939
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
(cherry picked from commit d97efea0caaa9741f21e7e30b394d292ea80c9b0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: I8fbff45f5ebae681ab37cfd0ab0acb79eec88864
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
(cherry picked from commit f730fa8d3eaefdcd44f57c49c468344da56bb041)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: I0ec719a26ad6c146e44f8e9e41b186a53cb254a9
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
(cherry picked from commit 121c0c4028d6deceded8e600959f10c364986634)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Fixes: QTBUG-83776
Change-Id: I9364bdea2882bc23039817207eca62b311841ba6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit b5a55492a63cb2cda75d6f980acb7fc5ae8dfc22)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Regression since d8d072417b08dd75734b3f0aa86c3a49db934770
Fixes: QTBUG-84556
Change-Id: I557ac7eb38ebdbb6c52e5348902ee8c3f1a91f07
Reviewed-by: <roman.valov@gmail.com>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
(cherry picked from commit 19cc3a018f2442221d566ec56bda2bdbdce7ec2e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|