- 05 Nov, 2018 - 1 commit
-
-
Antti Kokko authored
Change-Id: Ic3bc5e5bc49ebc034eef8d6b6edc78a2e33c8bca Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 18 Oct, 2018 - 1 commit
-
-
Val Doroshchuk authored
Currently by default 5 wave buffers are created where each buffer contains buffer_size/5 bytes. If total buffer size is small enough, playing of these wave buffers might be finished before refilling them. Which leads crackling and another noise. Introduced QT_WAVE_BUFFERS env var which contains number of wave buffers. Must not be less than 5. If number of wave buffers is big enough, it ensures that there is always data to play. Task-number: QTBUG-45174 Change-Id: I66bf997411f858fbff822394bb748dea2086060e Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
- 13 Oct, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: Ic398983a0a680738487476150e28593665db3fb2
-
- 05 Oct, 2018 - 5 commits
-
-
Qt Forward Merge Bot authored
Change-Id: I70b363e614391ecce15ed55ef1267973c8b21355
-
Andy Shaw authored
The setDataSource(Context, Uri) is used for passing a Uri that refers to data in a content provider. Whereas the path passed here is going to be http/rtsp instead. This fixes the warning that comes up about it not being able to open the path provided. Task-number: QTBUG-50539 Change-Id: I79882fb6d6a5683b6b95f8f9d4e2af86ea916831 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
Eskil Abrahamsen Blomfeldt authored
Qt Multimedia depends on Qt Network. Change-Id: I5ff679bef22e1143369e3c75aa508da82fe6af9a Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Val Doroshchuk authored
The lambda function is called even if the object is destroyed. Task-number: QTBUG-70932 Change-Id: I070059bd61769a6864a2848f2b537609577769de Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
Val Doroshchuk authored
Do not convert ARG32 to premultiplied. Rather interpret it as premultiplied. Should be better even if SSE2 is disabled. Task-number: QTBUG-52114 Change-Id: Ic63f59dc8a940d6d73c618ef3a75b47a0950fff3 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 04 Oct, 2018 - 2 commits
-
-
Val Doroshchuk authored
Change-Id: Ib2f799024b91131d33b9247dec167cae3e6adde9 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Val Doroshchuk authored
Saved a copy of texture id in IMFSampleVIdeoBuffer and init it on first call. Task-number: QTBUG-70672 Change-Id: Iaf8ff4f3faa952846eca5a764c88e57807d4d211 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
- 01 Oct, 2018 - 1 commit
-
-
James McDonnell authored
Later versions of the QNX 7.0.0 Multimedia component replace the top level audio/video metadata with track specific audio/video metadata. Change-Id: Ic88f23f8db9c06594da649d9e8fc4faf30acf1a0 Reviewed-by:
Rafael Roquetto <rafael@roquetto.com>
-
- 28 Sep, 2018 - 1 commit
-
-
VaL Doroshchuk authored
When stop is requested, the state becomes QMediaRecorder::StoppedState and stateChanged() is sent immediately, also the status is changed from QMediaRecorder::RecordingStatus to QMediaRecorder::FinalizingStatus. But since stopping is asynchronous QMediaRecorder::StoppedState is sent before recording has been fully finished. When EOS is received from gstreamer and recording has been fully stopped, the status will be changed from QMediaRecorder::FinalizingStatus to QMediaRecorder::LoadedStatus and only in this case. So fixed to send stateChanged(QMediaRecorder::StoppedState) right after LoadedStatus. Task-number: QTBUG-69402 Change-Id: Ic7429a4bfea6b1f443a105a0540737072ad42de2 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 26 Sep, 2018 - 1 commit
-
-
Yoann Lopes authored
Only possible on Android API level 23 or higher. Task-number: QTBUG-61115 Change-Id: I147575ed0a48f84d4208978a67e0856918e65b3d Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 25 Sep, 2018 - 5 commits
-
-
VaL Doroshchuk authored
Some formats or data might be unsupported and not possible to use them in glTexDirectVIVMap. If glTexDirectVIVMap returns an error then need to upload data to memory created by the driver using glTexDirectVIV. If at least one such error has occurred, all next video frames will be copied via glTexDirectVIV without trying to map again. Task-number: QTBUG-50927 Change-Id: I0715d4b244139b8d3f49d8bd2fc905f3fd55556c Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
VaL Doroshchuk authored
Task-number: QTBUG-70465 Change-Id: I6af46cb8de0b40dc41aaa0b999faf68d102c7b48 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Val Doroshchuk authored
Task-number: QTBUG-70672 Change-Id: I38c1e868dd05835489a49e6c29d9ad1a36a5f7a9 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Val Doroshchuk authored
Added camera image encoder control that 1. applies image encoder settings (resolution and codec) used to capture images 2. returns supported image codecs from QImageWriter::supportedImageFormats 3. returns supported resolutions Since DirectShow camera session uses QImage based on QVideoFrame image encoder control returns viewfinder supported resolutions. Not available if camera is not loaded. Setting resolution via encoder control causes viewfinder resolution to be ignored. Task-number: QTBUG-32743 Change-Id: I1de3ca9c6543937cb62f73cb64a81d23b0d5c4c9 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io> Reviewed-by:
Andy Shaw <andy.shaw@qt.io> Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Qt Forward Merge Bot authored
Change-Id: I0f5e9ae8180fa3492ce9002b75932c448f2c2b55
-
- 24 Sep, 2018 - 2 commits
-
-
Val Doroshchuk authored
Change state to PlayingState only when media content has been provided. Task-number: QTBUG-70653 Task-number: QTBUG-68998 Change-Id: Iad8fc2c964ff22e90de6eb9b84c82a0950d0b1ac Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Kai Koehne authored
Task-number: QTBUG-70264 Change-Id: I41144db999c4d68c12ba8ded21092bea8b59f20e Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
- 20 Sep, 2018 - 1 commit
-
-
James McDonnell authored
The positioning code seemed to be expecting that the video window is created as an application window but mm-renderer creates the window as a child when a group is specified. When the application window isn't located in the top-left corner of the display, this assumption produces incorrect positioning of the video window. Contrary to what a comment in the code indicated, the video window does not need to be parented to the application window. Doing so just makes it difficult to determine the correct position for the video window. Also ensure that the video window is resized when the metadata information doesn't contain width/height. On QNX 7.0.0, the code may fail to resize the window because the metadata doesn't contain the width/height information under the expected key. A floating point divide by zero occurs with undefined results. I'll adjust for the width/height move in a separate commit. Change-Id: I540c1798a03b7c03a4438d0852c80e4d086009be Reviewed-by:
Janne Koskinen <janne.p.koskinen@qt.io> Reviewed-by:
Rafael Roquetto <rafael@roquetto.com>
-
- 15 Sep, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I70d51b09681a77e72ecad764e37697d0a1bb85a5
-
- 13 Sep, 2018 - 1 commit
-
-
VaL Doroshchuk authored
Since reading from QIODevice can be reimplemented on user side, it can call QAudioOutput::stop() which will free resources. This will produce a crash in QPulseAudioOutput::userFeed() when it will attempt to write buffers. Task-number: QTBUG-69734 Change-Id: Ifa43ba52bb01bb40939730461615a9d182ffcc9b Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 09 Sep, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I972cc399aab0898d9af75e8f733ec2272c94f1b9
-
- 08 Sep, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I886c4bda70a2b5a013a445d03487c7e3ef98e858
-
- 06 Sep, 2018 - 3 commits
-
-
VaL Doroshchuk authored
- Fixed to provide QMediaPlayer::LoadedMedia media status in case when play -> pause -> stop made. - Fixed default duration -1 -> 0. - Fixed a test because after pause() positionChanged is always emitted. - Enabled the test. - Increased gap between prev and curr position after pause. Task-number: QTBUG-63517 Change-Id: I377f024d0a976f1ce802fe6740a771b7e0f2e8db Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Kai Koehne authored
This follows what was done in d28c9f6a for Qt Quick Controls 2. The latest import version (e.g. 2.11 in Qt 5.11) will automatically be registered whenever the Qt version is bumped. This avoids needing to wait until a new type is added (or a new revision is added to an existing type) before being able to use the newest Qt Quick version. Change-Id: Ib14052fdf2a4cfa7b71f739fe00ce9a95dadb0a0 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
Oliver Wolff authored
Fixed warning: - 0 as nullptr constant - missing override - change of signedness - non portable path to header file Change-Id: I75a7d8de45099e39eb46feed2350117b2e1995c3 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
- 05 Sep, 2018 - 4 commits
-
-
Friedemann Kleint authored
- Unindent the code or replace by switch () - Smaller fixups when reindenting (nullptr, use QStringView for comparison against wchar_t) Change-Id: I249cb00b9ebe375b089d8d53b10c2d16d5771680 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
Friedemann Kleint authored
- Replace by range-based for Change-Id: Ie73bf5b6e1ebd90e4db653af0791ec88b68ed883 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
Friedemann Kleint authored
Replace by reinterpret_cast<>. Change-Id: Iebcac7858d875e2d6f53db21489d86beb19ba947 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
Friedemann Kleint authored
- Use ' = default' for trivial constructors/destructors - replace virtual by override or add override where applicable - Replace trivial constructors by member initialization for simple structs - Add Q_DISABLE_COPY where applicable - Mark move assignment/move constructors as noexcept - Remove unused member variables Change-Id: I579fb69ebcd945b94de32b827d93e5a4dab4df97 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
- 03 Sep, 2018 - 1 commit
-
-
Massimo Callegari authored
When requesting a OGL Core profile via QSurfaceFormat::setDefaultFormat (e.g. to use Qt3D advanced features), it is no longer possible to render QML Video items. This is because the requested shaders should be _core versions. This patch adds the core shaders so QtMultimedia stops whining, and bind textures with the proper format, since GL_LUMINANCE and GL_LUMINANCE_ALPHA are no longer valid in OGL 4. Task-number: QTBUG-51064 Change-Id: I909e01e7dc7be07549e9ecf0a6425b309af38ea1 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io> Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 30 Aug, 2018 - 2 commits
-
-
VaL Doroshchuk authored
Added an ability to define custom pipeline. Since new pipeline is used, playbin features will not work. Registered "qtvideosink" gstreamer element to be used in pipelines. In case if there is a need to render to QML VideoOutput element. I.e. if a pipeline is "videotestsrc ! qtvideosink" then QGstVideoRendererSink will be used as a sink and rendering will be done by one of QSGVideoNode's. In this case there is a need to create a pipeline after video surface is ready. Also added an ability to override default video sink and define custom one instead. QGstreamerVideoRendererInterface::setVideoSink() provides functionality to override default one. QGstreamerPlayerSession::rendererChanged() can be used to check if the renderer is ready to create a pipeline or set custom video sink. Task-number: QTBUG-39327 Change-Id: I635d3a07fb9a5dcf30ee63284a849b0ad3438536 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
Qt Forward Merge Bot authored
Change-Id: I3a41fab753e5a06fc9f30464edf7d6626e7ae92a
-
- 29 Aug, 2018 - 2 commits
-
-
VaL Doroshchuk authored
Gstreamer implementation is located in a plugin. In case if there is a need to use some internal features QGstreamerPlayerControl and QGstreamerPlayerSession have been moved from plugin to QtMultimediaGstTools library. It allows to request media player control from QMediaService and use it as QGstreamerPlayerControl. Change-Id: I8e45480c4cd718b90b90d14a42bc56f6f924eae5 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Antti Kokko authored
Change-Id: I4d2af3eae00be23afefcfce7b1cc71d011cee126 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 22 Aug, 2018 - 3 commits
-
-
VaL Doroshchuk authored
CameraBin creates default (application/ogg, video/x-theora) video profile or sets custom defined one, but ONLY on GST_STATE_CHANGE_NULL_TO_READY. If the camera is already loaded then it is not possible to change the video profile. Since a video profile was never defined, video/x-theora was always used to record video. Moved setting video profile before it gets to READY. It fixes an issue with ignoring CameraBinRecorder::applySettings(). This also changes previous behavior when video/x-theora was always used. To apply custom video settings it requires to use QMediaRecorder::setVideoSettings before the camera enters the READY state. Task-number: QTBUG-69895 Change-Id: I3afbf1f8e7c953e2e49e9cad7e96ea0b18a29d1a Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
VaL Doroshchuk authored
gst_value_get_sample does not return a reference to the sample. Should not call gst_sample_unref. Change-Id: Ibf71e6844b5756d85aac541a68e4e4ae4eefe498 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
VaL Doroshchuk authored
When either resolution or frame rates have been requested when the camera is in unloaded state, caps might not have some values. Change-Id: Ie935c62d02e10f762957ecd9f89255ad0e8fbd0b Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-