summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-06-27 16:36:38 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-06-27 16:36:38 +0200
commitca240ae578900d3d12cd9344e9c3ee58cd484d06 (patch)
tree4461f598854acce404f612633ca0557445100f41
parente988f423991084eb7187c420676e875ffb355188 (diff)
parent9bbf9f0d862b8d458e59690d36641618fb101b4e (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Conflicts: .qmake.conf Change-Id: Ieed5727ca602712ac008a876333e36ebb3dcba30
-rw-r--r--dist/changes-5.12.457
-rw-r--r--src/multimediawidgets/qpaintervideosurface.cpp8
2 files changed, 61 insertions, 4 deletions
diff --git a/dist/changes-5.12.4 b/dist/changes-5.12.4
new file mode 100644
index 000000000..e9e1a736b
--- /dev/null
+++ b/dist/changes-5.12.4
@@ -0,0 +1,57 @@
+Qt 5.12.4 is a bug-fix release. It maintains both forward and backward
+compatibility (source and binary) with Qt 5.12.0 through 5.12.3.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+https://doc.qt.io/qt-5/index.html
+
+The Qt version 5.12 series is binary compatible with the 5.11.x series.
+Applications compiled for 5.11 will continue to run with 5.12.
+
+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.
+
+ - This release contains only minor code improvements.
+
+****************************************************************************
+* Qt 5.12.4 Changes *
+****************************************************************************
+
+- [QTBUG-57836] Fixed QGraphicsVideoItem to always use the generic painter
+ when no gl paint engine is available.
+- [QTBUG-74277] Fixed usage of makeCurrent in QPainterVideoSurface.
+
+****************************************************************************
+* Platform Specific Changes *
+****************************************************************************
+
+- Android:
+ * [QTBUG-73582] Fixed QMediaRecorder's status changes after start/stop.
+ * [QTBUG-73582] The camera's stateChanged signal is now immediately sent
+ regardless of the current activity state.
+ * [QTBUG-73582] Fixed the camera to prevent it from opening the same device twice.
+ * [QTBUG-73237] Added support for starting the camera without an available viewfinder.
+
+- AVFoundation:
+ * [QTBUG-75285] Fixed the usage of $PRODUCT_NAME in the Info.plist to only be used
+ with the macx-xcode spec.
+
+- GStreamer:
+ * [QTBUG-75314] The pipeline will now be reset to GST_STATE_PAUSED instead of
+ GST_STATE_NULL after EndIfStream.
+ * [QTBUG-72468] Fixed deadlock when the state of the pipeline is requested in ASYNC mode.
+ * Added a possibility to use streams in the player's custom pipeline
+ if it contains an appsrc element.
+ * Added dumping of dot file of the player's pipeline if GST_DEBUG_DUMP_DOT_DIR is set.
+
+- DirectShow:
+ * [QTBUG-65574] Fixed the media player to prevent updating the status
+ when there are no finished tasks.
+ * [QTBUG-65574] Removed the start/end times in QVideoFrame.
+ * [QTBUG-65574] Fixed the player to return an error for invalid urls.
diff --git a/src/multimediawidgets/qpaintervideosurface.cpp b/src/multimediawidgets/qpaintervideosurface.cpp
index 440d5c858..6af0c7588 100644
--- a/src/multimediawidgets/qpaintervideosurface.cpp
+++ b/src/multimediawidgets/qpaintervideosurface.cpp
@@ -57,10 +57,6 @@
#ifndef GL_RGB8
#define GL_RGB8 0x8051
#endif
-#endif
-
-#include <QtDebug>
-QT_BEGIN_NAMESPACE
static void makeCurrent(QGLContext *context)
{
@@ -70,6 +66,10 @@ static void makeCurrent(QGLContext *context)
if (handle && QOpenGLContext::currentContext() != handle)
handle->makeCurrent(handle->surface());
}
+#endif
+
+#include <QtDebug>
+QT_BEGIN_NAMESPACE
QVideoSurfacePainter::~QVideoSurfacePainter()
{