- 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 - 1 commit
-
-
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>
-
- 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>
-
- 18 Aug, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I34d2aa9cb4a9105d5de1a3634d8282dc68ceefe1
-
- 16 Aug, 2018 - 1 commit
-
-
Val Doroshchuk authored
If play() is called before any media is set, don't change the current state to PlayingState. This was inconsistent with the other backends, and required an unneeded call to stop() when a media later got set. Task-number: QTBUG-68998 Change-Id: I8281c7bf83e36e9a80f2136ca9fc2430c55e8bd6 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 07 Aug, 2018 - 2 commits
-
-
Frederik Gladhorn authored
The root examples directory should not contains shared folders. In the past multimedia was the only module installing things there, now the qtdoc module started doing the same. Let's clean up both. Task-number: QTBUG-69784 Change-Id: I8ff9d1b899fd589c1f3ec83e11b603431c2e4950 Reviewed-by:
Paul Wicking <paul.wicking@qt.io> Reviewed-by:
Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by:
Nico Vertriest <nico.vertriest@qt.io>
-
Qt Forward Merge Bot authored
Change-Id: I4f6a59c4b9af45bfc0a5aeec8092c0d4e8fd3b2e
-
- 02 Aug, 2018 - 3 commits
-
-
VaL Doroshchuk authored
Since few opengl contexts could be used at the same time, CARenderer could use wrong context to render the video frame. If the video surface contains an opengl context then need to use it as shared regardless of existing of current context. Change-Id: Ie7e87682c73c0fd341b40c05e3f3c4a70d563242 Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Val Doroshchuk authored
If being used camera has been disconnected, state and status will remain like it is still active. Also no events are sent. Previously to fix this the camera needed to be unloaded and loaded again manually. IMediaEvent provides an ability to catch device removal notification with EC_DEVICE_LOST event. Since ISampleGrabber is used to get buffers. Added a fix to check if no buffers received for some time afterwards check for EC_DEVICE_LOST event. In case if the device is lost, the camera should be unloaded. Change-Id: I3a5edf00ce8ee25d8b06800fdad833a722bdba0d Task-number: QTBUG-68035 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io> Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Val Doroshchuk authored
Setting camera image processing parameters fails if the graph builder is not ready. We avoid this race condition by having a list of pending parameter changes which is applied when graph builder has been created. Task-number: QTBUG-69143 Change-Id: I5702ea5a2dceacff333fcf8dce05372a0208b8d9 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io> Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
- 31 Jul, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Conflicts: .qmake.conf Change-Id: I8d0aa330c9e5b2031b40ca645356226e8ebb50c8
-
- 30 Jul, 2018 - 1 commit
-
-
Oswald Buddenhagen authored
Change-Id: I74a4a3cbe1b37e3cdf21ae31fcca53be073823b1
-
- 28 Jul, 2018 - 2 commits
-
-
Luca Carlon authored
A new environment variable QT_DIRECTSHOW_NO_EVR is introduced to disable EVR, which is needed in some cases (see QTBUG-53019). Task-number: QTBUG-53019 Change-Id: I8e39ad36d37f5e7c2da0d1fdc62dc95dda715ec0 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
Luca Carlon authored
Fix compilation and link error when building the DirectShow plugin without EVR support. Change-Id: Ic14c4898e37739953c588e41c73e655350518457 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
- 25 Jul, 2018 - 1 commit
-
-
Peter Seiderer authored
Avoids critcial warning ('GLib-CRITICAL **: Source ID 10 was not found when attempting to remove it') in case the applications initiates another glib context/main loop. The new gst_bus_remove_watch() is available since gstreamer API 1.6, otherwise fall back to g_source_remove(). Task-number: QTBUG-69468 Change-Id: I4343865cb41a2d62ac4b0c0c04f60f13727f56d0 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
- 24 Jul, 2018 - 2 commits
-
-
Luca Carlon authored
Because of issue QTBUG-53019, the performance of an application playing a video on windows is sometimes just a few fps. The issue seems to be related to EVR on some hardware, and appeared in commit c7397523 . This patch allows building the qtmultimedia module without EVR. Task-number: QTBUG-53019 Change-Id: I1166e633dd02e93047fa72b0ac156ae615ab67ec Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Pierre Hallot authored
It is possible to have a loading thread running, but with no network manager. In that case, calling deleteLater() on m_networkAccessManager results in a warning: postEvent: Unexpected null receiver. Fix this issue by checking whether the network manager exists before calling deleteLater() on it. Task-number: QTBUG-66910 Change-Id: I818a87a605b4e906dee47c6c815a6b8112b16829 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
- 07 Jul, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I22c4d4be2d1b38bb576d1ae674cb19880d1ed9c9
-
- 05 Jul, 2018 - 1 commit
-
-
Orgad Shaneh authored
and a warning on termination: QCoreApplication::postEvent: Unexpected null receiver During static deinit it is not possible to use deleteLater, as there is no event loop running at this stage. The crash that was described in QTBUG-30630 doesn't reproduce with Qt 5.10, so I guess it should be safe to just delete. Change-Id: I0c404d71e9f102018e314c890ff679f8c0952b07 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
- 30 Jun, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I9ffaa4e1a24b94196f147b94f5c0582a42829545
-
- 26 Jun, 2018 - 1 commit
-
-
VaL Doroshchuk authored
Removed code to use AVFVideoRendererControl to avoid link error. Task-number: QTBUG-69076 Change-Id: Iea87570fa6bb95541507d2ed84b6a1aa70984370 Reviewed-by:
Andy Shaw <andy.shaw@qt.io>
-
- 25 Jun, 2018 - 1 commit
-
-
VaL Doroshchuk authored
No need to configure anything if there is no video capture device. Task-number: QTBUG-65740 Change-Id: I8de7dced14b00ab3eba560f395d7e1a4a5de1682 Reviewed-by:
Andy Shaw <andy.shaw@qt.io>
-
- 23 Jun, 2018 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I2442bd4b49e0a322c26d178fdb57d4a51b7a8835
-
- 22 Jun, 2018 - 1 commit
-
-
Oliver Wolff authored
By Resetting d->cameraSampleformat to Format_User when the selected video device is changed we make QWinRTCameraVideoRendererControl reobtain the camera sample format and size during the next call of queueBuffer. This is needed as the new camera might have other values for these, which might result in a white screen after a camera change. Task-number: QTBUG-67417 Change-Id: I29e28ddf4fc278aff00ad824bda61aedad91471d Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
- 21 Jun, 2018 - 1 commit
-
-
Venugopal Shivashankar authored
Change-Id: Icd9dff16b807d0bc7143a3d41f9799432035fa54 Reviewed-by:
Topi Reiniö <topi.reinio@qt.io>
-
- 20 Jun, 2018 - 3 commits
-
-
Andy Shaw authored
The video output is set after it has handled this doRender() call which means that it would report an error with the media, even though it was renderable. This approach ensures that it does not report an error and will correctly report as loaded in this case. Change-Id: I6ec6abb82dcdd8f122e198ff6a765cf83931ee10 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io> Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
VaL Doroshchuk authored
QT_GSTREAMER_CAMERABIN_VIDEOSRC can contain pipeline description and not just one video source element. QT_GSTREAMER_CAMERABIN_VIDEOSRC="nvcamerasrc ! nvvidconv" ./app Task-number: QTBUG-60884 Change-Id: Iebf052a6669fd17139b78949ed0bb314f1faef65 Reviewed-by:
VaL Doroshchuk <valentyn.doroshchuk@qt.io>
-
Qt Forward Merge Bot authored
-