Merge remote-tracking branch 'origin/stable' into dev
Change-Id: If2b8ea3be8fdaee2469c5d1c6b29c19dba1eb192
This commit is contained in:
48
dist/changes-5.0.2
vendored
Normal file
48
dist/changes-5.0.2
vendored
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
Qt 5.0.2 is a bug-fix release. It maintains both forward and backward
|
||||||
|
source compatibility with Qt 5.0.0 and 5.0.1.
|
||||||
|
|
||||||
|
However, to fix a bug we detected after the 5.0 release, this release
|
||||||
|
has a limited binary compatibility break. We therefore recommend all
|
||||||
|
users to recompile their applications that provided QtMultimedia
|
||||||
|
plugins or dealt with them directly. This is an exceptional case:
|
||||||
|
compatibility will be kept for further releases.
|
||||||
|
|
||||||
|
For more details, refer to the online documentation included in this
|
||||||
|
distribution. The documentation is also available online:
|
||||||
|
|
||||||
|
http://qt-project.org/doc/qt-5.0/
|
||||||
|
|
||||||
|
Some of the changes listed in this file include issue tracking numbers
|
||||||
|
corresponding to tasks in the Qt Bug Tracker:
|
||||||
|
|
||||||
|
http://bugreports.qt-project.org/
|
||||||
|
|
||||||
|
Each of these identifiers can be entered in the bug tracker to obtain more
|
||||||
|
information about a particular change.
|
||||||
|
|
||||||
|
|
||||||
|
****************************************************************************
|
||||||
|
* General *
|
||||||
|
****************************************************************************
|
||||||
|
|
||||||
|
General Improvements
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
****************************************************************************
|
||||||
|
* Library *
|
||||||
|
****************************************************************************
|
||||||
|
|
||||||
|
- WMF: Enabled HW-accelerated video decoding for the QML video item.
|
||||||
|
- WMF: Fixed unresolved topologies when using the custom MediaSink.
|
||||||
|
- Disable FFT when building in static mode.
|
||||||
|
- [QTBUG-28741] Added seek() function to QML Video item.
|
||||||
|
|
||||||
|
****************************************************************************
|
||||||
|
* Platform Specific Changes *
|
||||||
|
****************************************************************************
|
||||||
|
|
||||||
|
Qt for BlackBerry
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
- Fixed playback of streamed audio.
|
||||||
|
|
||||||
@@ -23,6 +23,8 @@ DEFINES += LOG_ENGINE
|
|||||||
# If this macro is defined, the FFTReal DLL will not be built
|
# If this macro is defined, the FFTReal DLL will not be built
|
||||||
#DEFINES += DISABLE_FFT
|
#DEFINES += DISABLE_FFT
|
||||||
|
|
||||||
|
static: DEFINES += DISABLE_FFT
|
||||||
|
|
||||||
# Disables rendering of the waveform
|
# Disables rendering of the waveform
|
||||||
#DEFINES += DISABLE_WAVEFORM
|
#DEFINES += DISABLE_WAVEFORM
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ static int wuchi = qRegisterMetaType<QGstreamerMessage>();
|
|||||||
QGstreamerMessage::QGstreamerMessage():
|
QGstreamerMessage::QGstreamerMessage():
|
||||||
m_message(0)
|
m_message(0)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(wuchi);
|
||||||
}
|
}
|
||||||
|
|
||||||
QGstreamerMessage::QGstreamerMessage(GstMessage* message):
|
QGstreamerMessage::QGstreamerMessage(GstMessage* message):
|
||||||
|
|||||||
@@ -371,12 +371,12 @@ struct RgbFormat
|
|||||||
|
|
||||||
static const RgbFormat qt_rgbColorLookup[] =
|
static const RgbFormat qt_rgbColorLookup[] =
|
||||||
{
|
{
|
||||||
{ QVideoFrame::Format_RGB32 , 32, 24, 4321, 0x0000FF00, 0x00FF0000, 0xFF000000, 0x00000000 },
|
{ QVideoFrame::Format_RGB32 , 32, 24, 4321, 0x0000FF00, 0x00FF0000, int(0xFF000000), 0x00000000 },
|
||||||
{ QVideoFrame::Format_RGB32 , 32, 24, 1234, 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000 },
|
{ QVideoFrame::Format_RGB32 , 32, 24, 1234, 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000 },
|
||||||
{ QVideoFrame::Format_BGR32 , 32, 24, 4321, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x00000000 },
|
{ QVideoFrame::Format_BGR32 , 32, 24, 4321, int(0xFF000000), 0x00FF0000, 0x0000FF00, 0x00000000 },
|
||||||
{ QVideoFrame::Format_BGR32 , 32, 24, 1234, 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000 },
|
{ QVideoFrame::Format_BGR32 , 32, 24, 1234, 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000 },
|
||||||
{ QVideoFrame::Format_ARGB32, 32, 24, 4321, 0x0000FF00, 0x00FF0000, 0xFF000000, 0x000000FF },
|
{ QVideoFrame::Format_ARGB32, 32, 24, 4321, 0x0000FF00, 0x00FF0000, int(0xFF000000), 0x000000FF },
|
||||||
{ QVideoFrame::Format_ARGB32, 32, 24, 1234, 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000 },
|
{ QVideoFrame::Format_ARGB32, 32, 24, 1234, 0x00FF0000, 0x0000FF00, 0x000000FF, int(0xFF000000) },
|
||||||
{ QVideoFrame::Format_RGB24 , 24, 24, 4321, 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000 },
|
{ QVideoFrame::Format_RGB24 , 24, 24, 4321, 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000 },
|
||||||
{ QVideoFrame::Format_BGR24 , 24, 24, 4321, 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000 },
|
{ QVideoFrame::Format_BGR24 , 24, 24, 4321, 0x000000FF, 0x0000FF00, 0x00FF0000, 0x00000000 },
|
||||||
{ QVideoFrame::Format_RGB565, 16, 16, 1234, 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000 }
|
{ QVideoFrame::Format_RGB565, 16, 16, 1234, 0x0000F800, 0x000007E0, 0x0000001F, 0x00000000 }
|
||||||
|
|||||||
@@ -442,7 +442,7 @@ void QDeclarativeSoundInstance::setVelocity(const QVector3D& velocity)
|
|||||||
/*!
|
/*!
|
||||||
\qmlproperty vector3d QtAudioEngine1::SoundInstance::gain
|
\qmlproperty vector3d QtAudioEngine1::SoundInstance::gain
|
||||||
|
|
||||||
This property holds the gain adjustment which will be used to modulate the audio ouput level
|
This property holds the gain adjustment which will be used to modulate the audio output level
|
||||||
from this SoundInstance.
|
from this SoundInstance.
|
||||||
*/
|
*/
|
||||||
qreal QDeclarativeSoundInstance::gain() const
|
qreal QDeclarativeSoundInstance::gain() const
|
||||||
|
|||||||
@@ -113,12 +113,12 @@ Item {
|
|||||||
\li VideoOutput.Stretch - the video is scaled to fit
|
\li VideoOutput.Stretch - the video is scaled to fit
|
||||||
\li VideoOutput.PreserveAspectFit - the video is scaled uniformly to fit without
|
\li VideoOutput.PreserveAspectFit - the video is scaled uniformly to fit without
|
||||||
cropping
|
cropping
|
||||||
\li VideoOuput.PreserveAspectCrop - the video is scaled uniformly to fill, cropping
|
\li VideoOutput.PreserveAspectCrop - the video is scaled uniformly to fill, cropping
|
||||||
if necessary
|
if necessary
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
Because this type is for convenience in QML, it does not
|
Because this type is for convenience in QML, it does not
|
||||||
support enumerations directly, so enumerations from \c VideoOuput are
|
support enumerations directly, so enumerations from \c VideoOutput are
|
||||||
used to access the available fill modes.
|
used to access the available fill modes.
|
||||||
|
|
||||||
The default fill mode is preserveAspectFit.
|
The default fill mode is preserveAspectFit.
|
||||||
|
|||||||
@@ -447,7 +447,7 @@ void AVFMediaPlayerSession::setVideoOutput(AVFVideoOutput *output)
|
|||||||
if (m_videoOutput == output)
|
if (m_videoOutput == output)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//Set the current ouput layer to null to stop rendering
|
//Set the current output layer to null to stop rendering
|
||||||
if (m_videoOutput) {
|
if (m_videoOutput) {
|
||||||
m_videoOutput->setLayer(0);
|
m_videoOutput->setLayer(0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define AVFVideoOutput_iid \
|
#define AVFVideoOutput_iid \
|
||||||
"org.qt-project.qt.AVFVideoOuput/5.0"
|
"org.qt-project.qt.AVFVideoOutput/5.0"
|
||||||
Q_DECLARE_INTERFACE(AVFVideoOutput, AVFVideoOutput_iid)
|
Q_DECLARE_INTERFACE(AVFVideoOutput, AVFVideoOutput_iid)
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ void CameraBinControl::setState(QCamera::State state)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CamerabinResourcePolicy::ResourceSet resourceSet;
|
CamerabinResourcePolicy::ResourceSet resourceSet = CamerabinResourcePolicy::NoResources;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case QCamera::UnloadedState:
|
case QCamera::UnloadedState:
|
||||||
resourceSet = CamerabinResourcePolicy::NoResources;
|
resourceSet = CamerabinResourcePolicy::NoResources;
|
||||||
|
|||||||
@@ -162,6 +162,8 @@ void CamerabinResourcePolicy::setResourceSet(CamerabinResourcePolicy::ResourceSe
|
|||||||
m_resource->release();
|
m_resource->release();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
Q_UNUSED(oldSet);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -415,6 +415,7 @@ void QPulseAudioOutput::userFeed()
|
|||||||
}
|
}
|
||||||
qint64 bytesWritten = write(m_audioBuffer, audioBytesPulled);
|
qint64 bytesWritten = write(m_audioBuffer, audioBytesPulled);
|
||||||
Q_ASSERT(bytesWritten == audioBytesPulled); //unfinished write should not happen since the data provided is less than writableSize
|
Q_ASSERT(bytesWritten == audioBytesPulled); //unfinished write should not happen since the data provided is less than writableSize
|
||||||
|
Q_UNUSED(bytesWritten);
|
||||||
|
|
||||||
if (chunks > 1) {
|
if (chunks > 1) {
|
||||||
// PulseAudio needs more data. Ask for it immediately.
|
// PulseAudio needs more data. Ask for it immediately.
|
||||||
|
|||||||
Reference in New Issue
Block a user