Merge remote-tracking branch 'origin/5.6.1' into 5.6
Change-Id: I0b4fde2a47b428fd04012a8dbec16fd14797b8dd
This commit is contained in:
64
dist/changes-5.6.1
vendored
Normal file
64
dist/changes-5.6.1
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
Qt 5.6.1 is a bug-fix release. It maintains both forward and backward
|
||||
compatibility (source and binary) with Qt 5.6.0.
|
||||
|
||||
For more details, refer to the online documentation included in this
|
||||
distribution. The documentation is also available online:
|
||||
|
||||
https://doc.qt.io/qt-5.6
|
||||
|
||||
The Qt version 5.6 series is binary compatible with the 5.5.x series.
|
||||
Applications compiled for 5.5 will continue to run with 5.6.
|
||||
|
||||
Some of the changes listed in this file include issue tracking numbers
|
||||
corresponding to tasks in the Qt Bug Tracker:
|
||||
|
||||
https://bugreports.qt.io/
|
||||
|
||||
Each of these identifiers can be entered in the bug tracker to obtain more
|
||||
information about a particular change.
|
||||
|
||||
|
||||
****************************************************************************
|
||||
* Platform Specific Changes *
|
||||
****************************************************************************
|
||||
|
||||
Android
|
||||
-------
|
||||
|
||||
- [QTBUG-51911] fixed camera frames appearing flipped for a brief moment
|
||||
when starting or stopping a video recording.
|
||||
|
||||
iOS / OS X
|
||||
----------
|
||||
|
||||
- Fixed the camera resolution incorrectly being changed when switching
|
||||
to image capture mode.
|
||||
|
||||
Linux
|
||||
-----
|
||||
|
||||
- PulseAudio: fixed playback of short streams never starting with
|
||||
QAudioOutput in pull mode.
|
||||
- [QTBUG-40823][QTBUG-49461] changing the volume of a QAudioOutput or
|
||||
QAudioInput doesn't affect the system volume anymore.
|
||||
- [QTBUG-51607] fixed camera not working when QT_NO_GLIB is set.
|
||||
|
||||
QNX
|
||||
---
|
||||
|
||||
- Fixed video playback in VMWare.
|
||||
|
||||
Windows
|
||||
-------
|
||||
|
||||
- The DirectShow backend is now available on Windows CE.
|
||||
- [QTBUG-49281] fixed a memory leak when stopping the camera.
|
||||
- [QTBUG-53114] QMediaPlayer can now load UNC paths.
|
||||
|
||||
WinRT
|
||||
-----
|
||||
|
||||
- [QTBUG-38802] the manifest now automatically includes permissions for
|
||||
microphone and camera when a project contains QT += multimedia.
|
||||
- [QTBUG-47803] fixed camera image capture signals not being emitted when
|
||||
the first capture is done.
|
||||
@@ -101,7 +101,13 @@ HRESULT getMediaStreamResolutions(IMediaDeviceController *device,
|
||||
ComPtr<IMediaEncodingProperties> properties;
|
||||
hr = (*propertiesList)->GetAt(index, &properties);
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
if (type == MediaStreamType_VideoRecord || type == MediaStreamType_VideoPreview) {
|
||||
HString propertyType;
|
||||
hr = properties->get_Type(propertyType.GetAddressOf());
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
|
||||
const HStringReference videoRef = HString::MakeReference(L"Video");
|
||||
const HStringReference imageRef = HString::MakeReference(L"Image");
|
||||
if (propertyType == videoRef) {
|
||||
ComPtr<IVideoEncodingProperties> videoProperties;
|
||||
hr = properties.As(&videoProperties);
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
@@ -111,13 +117,10 @@ HRESULT getMediaStreamResolutions(IMediaDeviceController *device,
|
||||
hr = videoProperties->get_Height(&height);
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
resolutions->append(QSize(width, height));
|
||||
} else if (type == MediaStreamType_Photo) {
|
||||
} else if (propertyType == imageRef) {
|
||||
ComPtr<IImageEncodingProperties> imageProperties;
|
||||
hr = properties.As(&imageProperties);
|
||||
// Asking for Photo also returns video resolutions in addition
|
||||
// We skip those, as we are only interested in image Type
|
||||
if (FAILED(hr) || !imageProperties)
|
||||
continue;
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
UINT32 width, height;
|
||||
hr = imageProperties->get_Width(&width);
|
||||
Q_ASSERT_SUCCEEDED(hr);
|
||||
|
||||
Reference in New Issue
Block a user