| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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: 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>
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie0e6599234c38c5e5a75b681a911f3728871861e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes: QTBUG-83240
Change-Id: Iaa01ee4553f4c0c4d9a1ad829e65b40f13d3847d
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's going away in Qt 6.0.
Task-number: QTBUG-83692
Change-Id: I9709abb1c3734e10a7defffd1607e1160da1e75c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It got deprecated in f1648c837b606cb
Change-Id: I3f99a5373b0641f15e62ec4270e89c582e451fdb
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
(cherry picked from commit c95aa0e1836f230b2ba3158c65d0767223dd1937)
Reviewed-by: Qt Cherry-pick Bot
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Each gstreamer plugin is responsible for supporting reverse playback
and also might require different start/stop types
(GST_SEEK_TYPE_SET, GST_SEEK_TYPE_NONE, GST_SEEK_TYPE_END).
Some plugins do not support it at all, e.g. wavparse.
if rate > 0:
change rate from current position to duration.
else:
change rate from current position to 0.
Fixed also seeking with a negative rate.
This should work for mp3 or some video formats too.
Fixes: QTBUG-83945
Change-Id: I10a98186b9bc63d908667944aa4459da9e63e343
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
| | |/ /
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ifb64b01463115f81b2edc4e486a3b0f52197e2a1
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | |\ \ |
|
| | | |\|
| | | | |
| | | | |
| | | | | |
Change-Id: I160b25219c806d9d3a30644fa1a5e589c5aca039
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Gstreamer client should handle GST_MESSAGE_BUFFERING to play and pause
streams based on buffer-percent value and Qt does it properly.
However `updateSessionState` of QGstreamerPlayerControl was implemented
to go back into playing state each time session state becomes paused.
That behavior resulted into choppy stream playback.
Fix with condition to un-pause playback only if it's already buffered.
Fixes: QTBUG-83417
Change-Id: Ida4a9e2e196de00050bdc64725fa818c7e939785
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Capturing the image is handled by camerabin and it saves the image to a file.
And we wanted to remove the file if capturing to buffer is requested,
but the file is kept and not removed.
Change-Id: I21404fc160bf275325deebf0f00b588de3493ee1
Fixes: QTBUG-82572
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the video buffer contains crop metadata update a viewport
for the video frame format.
Fixes: QTBUG-82448
Change-Id: Iace150c6c03b48662cc9f0112b45fbe6401d6061
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The int-overload will in some cases truncate the descriptor.
So it's being replaced.
Task-number: QTBUG-70441
Change-Id: Iffee2c8b544e6d329d02c0afea6aa9db9de38ea4
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | |\|
| | | |
| | | |
| | | | |
Change-Id: I9687c59d15cd816969f362d72b19f279a1a2d04e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added MEDIASUBTYPE_Y800 with GUID: {30303859-0000-0010-8000-00AA00389B71}
Fixes: QTBUG-83071
Change-Id: I2e51ae1d2ae62d4d4cd7f68eecc0605bdc8c7f3a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
| | |\|
| | | |
| | | |
| | | | |
Change-Id: Icb722ebe5b9b02791cf3593f2347e398deb837fe
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Receives a pointer to the IMFMediaTypeHandler interface.
The caller must release the interface.
Fixes: QTBUG-80037
Change-Id: I69682028a5deea256a79d5d067afe2e60e49c8c5
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| | |\|
| | | |
| | | |
| | | | |
Change-Id: I3a719b4e4ba75da1784fb2bc5d6c014b1e6c54ac
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we are mapping from MEDIASUBTYPE_RGB24 to QVideoFormat::BGR24 then
we should make sure this returns the correct value from bytesPerLine.
Change-Id: I8cc31d29a03bf2c1d7682de32448db0db9656cc7
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Update it to use the new errorOccurred
Task-number: QTBUG-82605
Change-Id: Ia7f4f51917ac4694e54e47318cb477aa05c2929e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
AVFCameraWindowControl is a renderer backend,
when QCamera viewfinder output set to QVideoWidget on macOS or iOS.
As it uses native API and lets the OS handle rendering pipeline,
it is an efficient alternative to default renderer backend.
Task-number: QTBUG-68779
Change-Id: I4d27022655a7d9f4ad7cf99c84b570a0c48cf10a
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | |\|
| | | |
| | | |
| | | | |
Change-Id: Ia1bc95c071d29653a85e753964d15826ce3706f8
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently requested IMediaSample might contain the end time that exceeds the
available bytes which causes returning an error in WaitForNext() and
stopping the playback.
Regarding to IAsyncReader::Request documentation:
The start and stop positions should match the alignment that was decided when the pins connected.
The stop position might exceed the real duration.
If so, the method rounds the stop position down to the actual alignment.
Fixes: QTBUG-77782
Change-Id: I644e25bfc6bb8f6d345b8424b79fb56490d82c0e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit 9e96fe2cbf79a44039de0edcc854050d84b87588)
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the sample is ready, the volume is applied to it and written back to
pulse's buffer.
When the volume is changed again, need to discard buffer with outdated volume,
and rewrite.
Change-Id: I51a6ab3ee1a5c799643a43c5628439c2d659f9fc
Fixes: QTBUG-79687
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added RHI shaders for RGB*, YUV* and opengl texture video frames.
Task-number: QTBUG-78678
Change-Id: I045d6a806fea059a80b8e5d9817b6997af8d0f41
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-82994
Change-Id: I19cd9ce965352c06adc5466a86cd3f32c00a4cd3
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
gstreamer_imxcommon is not official plugin.
Added extracting of physical memory instead.
Available since gst 1.14.
Pick-to: 5.15
Fixes: QTBUG-83663
Change-Id: I4c2823f1a965c1fc5a5ab9e50ab8325884f8f6e1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ifb6418f4b554cf28412dd6256f874630fc3f5eb3
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I96e6778572e344122a13394ae9aec7a9b6d3ecb0
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: If0eb56350677bd49c02f0439918a5ccfcc414770
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changing this in "gsttools: use nullptr instead of NULL" was an oversight.
Change-Id: I6ed4a63800dc288a32c58eafaf74cdc15ea2218d
Pick-to: 5.15
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fatal error: EGL/egl.h: No such file or directory
Change-Id: I30c7de1fe9fb846471ee50549afca863613309aa
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since it is already removed from qtbase
Change-Id: If3a8169705b57d2e39167e2f718524cf3fe8bb1e
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
glTexCoordPointer, glVertexPointer, glEnableClientState, glDisableClientState
Change-Id: I9970a64131e9372b7db48895912b9f481e34bf1a
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: If458b16be7a7a8b3f6e8e3bb74391774b41bc884
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Injects a converter between decoders and video sink.
Pick-to: 5.15
Task-number: QTBUG-76179
Change-Id: If5fc8090bc1ade424a1157e94d83dc5a51051fd7
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since QScreen::orientationUpdateMask has been already removed.
Change-Id: I7abf90c68d5f029c2e35639e79b0b6a4de2a82b0
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|