summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-06-25 23:27:28 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-06-25 23:27:28 +0200
commit18a8381ab324fce9ed162b63e185eaf541c2c92b (patch)
tree541b98ee213d390610000feae5022e6c3243eaaa
parentf424e8249b7b83d7d8f5a353161d2cc093840beb (diff)
parent1c0cfdf408a398f4fe3efded775341b50106505d (diff)
downloadqtmultimedia-18a8381ab324fce9ed162b63e185eaf541c2c92b.tar.gz
Merge remote-tracking branch 'origin/release' into stable
Change-Id: I9ad818eecef74983e09660871f39ee66a6b666a1
-rw-r--r--dist/changes-5.1.038
-rw-r--r--src/multimedia/qmediapluginloader.cpp7
-rw-r--r--src/plugins/android/mediaplayer/mediaplayer.json3
-rw-r--r--src/plugins/audiocapture/audiocapture.json3
-rw-r--r--src/plugins/avfoundation/camera/avfcamera.json3
-rw-r--r--src/plugins/avfoundation/mediaplayer/avfmediaplayer.json3
-rw-r--r--src/plugins/blackberry/blackberry_mediaservice.json3
-rw-r--r--src/plugins/directshow/directshow.json3
-rw-r--r--src/plugins/directshow/directshow_camera.json3
-rw-r--r--src/plugins/gstreamer/audiodecoder/audiodecoder.json3
-rw-r--r--src/plugins/gstreamer/camerabin/camerabin.json3
-rw-r--r--src/plugins/gstreamer/gstreamer.json3
-rw-r--r--src/plugins/gstreamer/mediacapture/mediacapture.json3
-rw-r--r--src/plugins/gstreamer/mediacapture/mediacapturecamera.json3
-rw-r--r--src/plugins/gstreamer/mediaplayer/mediaplayer.json3
-rw-r--r--src/plugins/qt7/qt7.json3
-rw-r--r--src/plugins/v4l/v4l.json3
-rw-r--r--src/plugins/wmf/wmf.json3
-rw-r--r--tests/auto/unit/qmediaserviceprovider/mockserviceplugin1/mockserviceplugin1.json3
-rw-r--r--tests/auto/unit/qmediaserviceprovider/mockserviceplugin2/mockserviceplugin2.json3
-rw-r--r--tests/auto/unit/qmediaserviceprovider/mockserviceplugin3/mockserviceplugin3.json3
-rw-r--r--tests/auto/unit/qmediaserviceprovider/mockserviceplugin4/mockserviceplugin4.json3
22 files changed, 84 insertions, 21 deletions
diff --git a/dist/changes-5.1.0 b/dist/changes-5.1.0
new file mode 100644
index 000000000..937d6facd
--- /dev/null
+++ b/dist/changes-5.1.0
@@ -0,0 +1,38 @@
+Qt 5.1 introduces many new features and improvements as well as bugfixes
+over the 5.0.x series. 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.1
+
+The Qt version 5.1 series is binary compatible with the 5.0.x series.
+Applications compiled for 5.0 will continue to run with 5.1.
+
+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 *
+****************************************************************************
+
+ - Fixed signal not being emitted in QDeclarativeCameraFocus.
+ - Decouple qmediametadata.h from qmultimedia.h
+ - Reset VideoSurface pointer when deleted
+ - Fix crash on idle status change with 64 bit architectures.
+ - Add support for m3u8 playlist formats
+ - Fix calculation bug in QWaveDecoder.
+
+ - [QTBUG-28047] Make directshow-plugin available.
+ - [QTBUG-28589] Add error handling in image capturing in camera
+ - [QTBUG-30411] AVFoundation: Emit error when media fails to load
+
+Qt for Android
+--------------
+
+ - Add libQt5MultimediaQuick_p to the list of dependencies.
+ - Fixed crash when resetting the video surface.
+ - Add MediaPlayer support for Android
diff --git a/src/multimedia/qmediapluginloader.cpp b/src/multimedia/qmediapluginloader.cpp
index e23e32a3f..1b4a13f83 100644
--- a/src/multimedia/qmediapluginloader.cpp
+++ b/src/multimedia/qmediapluginloader.cpp
@@ -127,7 +127,12 @@ void QMediaPluginLoader::loadMetadata()
qDebug() << "QMediaPluginLoader: Inserted index " << i << " into metadata: " << jsonobj;
#endif
- QJsonArray arr = jsonobj.value(QStringLiteral("Keys")).toArray();
+ QJsonArray arr = jsonobj.value(QStringLiteral("Services")).toArray();
+ // Preserve compatibility with older plugins (made before 5.1) in which
+ // services were declared in the 'Keys' property
+ if (arr.isEmpty())
+ arr = jsonobj.value(QStringLiteral("Keys")).toArray();
+
foreach (QJsonValue value, arr) {
QString key = value.toString();
diff --git a/src/plugins/android/mediaplayer/mediaplayer.json b/src/plugins/android/mediaplayer/mediaplayer.json
index c4a27ea01..f371ebfd7 100644
--- a/src/plugins/android/mediaplayer/mediaplayer.json
+++ b/src/plugins/android/mediaplayer/mediaplayer.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer"]
+ "Keys": ["androidmultimedia"],
+ "Services": ["org.qt-project.qt.mediaplayer"]
}
diff --git a/src/plugins/audiocapture/audiocapture.json b/src/plugins/audiocapture/audiocapture.json
index d963a2e3e..4c7673da2 100644
--- a/src/plugins/audiocapture/audiocapture.json
+++ b/src/plugins/audiocapture/audiocapture.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.audiosource"]
+ "Keys": ["audiocapture"],
+ "Services": ["org.qt-project.qt.audiosource"]
}
diff --git a/src/plugins/avfoundation/camera/avfcamera.json b/src/plugins/avfoundation/camera/avfcamera.json
index d3a58c758..e4310b62c 100644
--- a/src/plugins/avfoundation/camera/avfcamera.json
+++ b/src/plugins/avfoundation/camera/avfcamera.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.camera"]
+ "Keys": ["avfoundationcamera"],
+ "Services": ["org.qt-project.qt.camera"]
}
diff --git a/src/plugins/avfoundation/mediaplayer/avfmediaplayer.json b/src/plugins/avfoundation/mediaplayer/avfmediaplayer.json
index c4a27ea01..5626edec0 100644
--- a/src/plugins/avfoundation/mediaplayer/avfmediaplayer.json
+++ b/src/plugins/avfoundation/mediaplayer/avfmediaplayer.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer"]
+ "Keys": ["avfoundationmediaplayer"],
+ "Services": ["org.qt-project.qt.mediaplayer"]
}
diff --git a/src/plugins/blackberry/blackberry_mediaservice.json b/src/plugins/blackberry/blackberry_mediaservice.json
index 54c1c9f04..2a59cc770 100644
--- a/src/plugins/blackberry/blackberry_mediaservice.json
+++ b/src/plugins/blackberry/blackberry_mediaservice.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.camera", "org.qt-project.qt.mediaplayer"]
+ "Keys": ["blackberrymultimedia"],
+ "Services": ["org.qt-project.qt.camera", "org.qt-project.qt.mediaplayer"]
}
diff --git a/src/plugins/directshow/directshow.json b/src/plugins/directshow/directshow.json
index 54c1c9f04..b1783b5ed 100644
--- a/src/plugins/directshow/directshow.json
+++ b/src/plugins/directshow/directshow.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.camera", "org.qt-project.qt.mediaplayer"]
+ "Keys": ["directshow"],
+ "Services": ["org.qt-project.qt.camera", "org.qt-project.qt.mediaplayer"]
}
diff --git a/src/plugins/directshow/directshow_camera.json b/src/plugins/directshow/directshow_camera.json
index d3a58c758..c37ce2c9a 100644
--- a/src/plugins/directshow/directshow_camera.json
+++ b/src/plugins/directshow/directshow_camera.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.camera"]
+ "Keys": ["directshow"],
+ "Services": ["org.qt-project.qt.camera"]
}
diff --git a/src/plugins/gstreamer/audiodecoder/audiodecoder.json b/src/plugins/gstreamer/audiodecoder/audiodecoder.json
index 3cc81dc72..4314f2efa 100644
--- a/src/plugins/gstreamer/audiodecoder/audiodecoder.json
+++ b/src/plugins/gstreamer/audiodecoder/audiodecoder.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.audiodecode"]
+ "Keys": ["gstreameraudiodecode"],
+ "Services": ["org.qt-project.qt.audiodecode"]
}
diff --git a/src/plugins/gstreamer/camerabin/camerabin.json b/src/plugins/gstreamer/camerabin/camerabin.json
index d3a58c758..3246b4683 100644
--- a/src/plugins/gstreamer/camerabin/camerabin.json
+++ b/src/plugins/gstreamer/camerabin/camerabin.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.camera"]
+ "Keys": ["gstreamercamerabin"],
+ "Services": ["org.qt-project.qt.camera"]
}
diff --git a/src/plugins/gstreamer/gstreamer.json b/src/plugins/gstreamer/gstreamer.json
index 3f6ccdafd..0656cce4f 100644
--- a/src/plugins/gstreamer/gstreamer.json
+++ b/src/plugins/gstreamer/gstreamer.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.audiosource", "org.qt-project.qt.camera", "org.qt-project.qt.audiodecode"]
+ "Keys": ["gstreamer"],
+ "Services": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.audiosource", "org.qt-project.qt.camera", "org.qt-project.qt.audiodecode"]
}
diff --git a/src/plugins/gstreamer/mediacapture/mediacapture.json b/src/plugins/gstreamer/mediacapture/mediacapture.json
index d963a2e3e..68ca3f55b 100644
--- a/src/plugins/gstreamer/mediacapture/mediacapture.json
+++ b/src/plugins/gstreamer/mediacapture/mediacapture.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.audiosource"]
+ "Keys": ["gstreamermediacapture"],
+ "Services": ["org.qt-project.qt.audiosource"]
}
diff --git a/src/plugins/gstreamer/mediacapture/mediacapturecamera.json b/src/plugins/gstreamer/mediacapture/mediacapturecamera.json
index b31238363..af9f3575f 100644
--- a/src/plugins/gstreamer/mediacapture/mediacapturecamera.json
+++ b/src/plugins/gstreamer/mediacapture/mediacapturecamera.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.audiosource", "org.qt-project.qt.camera"]
+ "Keys": ["gstreamermediacapture"]
+ "Services": ["org.qt-project.qt.audiosource", "org.qt-project.qt.camera"]
}
diff --git a/src/plugins/gstreamer/mediaplayer/mediaplayer.json b/src/plugins/gstreamer/mediaplayer/mediaplayer.json
index c4a27ea01..bd1a7e64d 100644
--- a/src/plugins/gstreamer/mediaplayer/mediaplayer.json
+++ b/src/plugins/gstreamer/mediaplayer/mediaplayer.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer"]
+ "Keys": ["gstreamermediaplayer"],
+ "Services": ["org.qt-project.qt.mediaplayer"]
}
diff --git a/src/plugins/qt7/qt7.json b/src/plugins/qt7/qt7.json
index c4a27ea01..b4cebad99 100644
--- a/src/plugins/qt7/qt7.json
+++ b/src/plugins/qt7/qt7.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer"]
+ "Keys": ["qt7"],
+ "Services": ["org.qt-project.qt.mediaplayer"]
}
diff --git a/src/plugins/v4l/v4l.json b/src/plugins/v4l/v4l.json
index f87f329c1..467fd526f 100644
--- a/src/plugins/v4l/v4l.json
+++ b/src/plugins/v4l/v4l.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.radio"]
+ "Keys": ["v4l"],
+ "Services": ["org.qt-project.qt.radio"]
}
diff --git a/src/plugins/wmf/wmf.json b/src/plugins/wmf/wmf.json
index b350cef41..e70736480 100644
--- a/src/plugins/wmf/wmf.json
+++ b/src/plugins/wmf/wmf.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.audiodecode"]
+ "Keys": ["windowsmediafoundation"],
+ "Services": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.audiodecode"]
}
diff --git a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin1/mockserviceplugin1.json b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin1/mockserviceplugin1.json
index c4a27ea01..69ff56452 100644
--- a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin1/mockserviceplugin1.json
+++ b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin1/mockserviceplugin1.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer"]
+ "Keys": ["mockserviceplugin1"],
+ "Services": ["org.qt-project.qt.mediaplayer"]
}
diff --git a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin2/mockserviceplugin2.json b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin2/mockserviceplugin2.json
index ec05f3e52..15d8ed505 100644
--- a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin2/mockserviceplugin2.json
+++ b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin2/mockserviceplugin2.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.radio"]
+ "Keys": ["mockserviceplugin2"],
+ "Services": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.radio"]
}
diff --git a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin3/mockserviceplugin3.json b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin3/mockserviceplugin3.json
index 58bbc4d74..591a02e51 100644
--- a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin3/mockserviceplugin3.json
+++ b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin3/mockserviceplugin3.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.audiosource"]
+ "Keys": ["mockserviceplugin3"],
+ "Services": ["org.qt-project.qt.mediaplayer", "org.qt-project.qt.audiosource"]
}
diff --git a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin4/mockserviceplugin4.json b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin4/mockserviceplugin4.json
index c4a27ea01..d8b8bd7e9 100644
--- a/tests/auto/unit/qmediaserviceprovider/mockserviceplugin4/mockserviceplugin4.json
+++ b/tests/auto/unit/qmediaserviceprovider/mockserviceplugin4/mockserviceplugin4.json
@@ -1,3 +1,4 @@
{
- "Keys": ["org.qt-project.qt.mediaplayer"]
+ "Keys": ["mockserviceplugin4"],
+ "Services": ["org.qt-project.qt.mediaplayer"]
}