Hello community,

here is the log from the commit of package phonon4qt5-backend-gstreamer for 
openSUSE:Factory checked in at 2015-01-07 09:38:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/phonon4qt5-backend-gstreamer (Old)
 and      /work/SRC/openSUSE:Factory/.phonon4qt5-backend-gstreamer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "phonon4qt5-backend-gstreamer"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/phonon4qt5-backend-gstreamer/phonon4qt5-backend-gstreamer.changes
        2014-10-22 16:23:49.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.phonon4qt5-backend-gstreamer.new/phonon4qt5-backend-gstreamer.changes
   2015-01-07 09:38:14.000000000 +0100
@@ -1,0 +2,15 @@
+Sat Dec 27 15:12:25 UTC 2014 - [email protected]
+
+- Update to 4.8.2
+  * Don't set WA_PaintOnScreen on the OverlayWidget in X11Renderer
+    in Qt5 build
+  * Make VideoWidget::snapshot work again
+
+-------------------------------------------------------------------
+Thu Dec 11 21:47:43 UTC 2014 - [email protected]
+
+- Update to 4.8.1:
+   * Prevent call to gst_element_set_state from a streaming thread,
+     kde#339511
+
+-------------------------------------------------------------------

Old:
----
  phonon-backend-gstreamer-4.8.0.tar.xz

New:
----
  phonon-backend-gstreamer-4.8.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ phonon4qt5-backend-gstreamer.spec ++++++
--- /var/tmp/diff_new_pack.stxbBG/_old  2015-01-07 09:38:15.000000000 +0100
+++ /var/tmp/diff_new_pack.stxbBG/_new  2015-01-07 09:38:15.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           phonon4qt5-backend-gstreamer
-Version:        4.8.0
+Version:        4.8.2
 Release:        0
 Summary:        Phonon Multimedia Platform Abstraction
 License:        LGPL-2.1 or LGPL-3.0
@@ -25,7 +25,7 @@
 Url:            http://phonon.kde.org/
 %define filename phonon-backend-gstreamer
 %define _phonon4qt5_version 4.8.0
-Source:         
http://download.kde.org/stable/phonon/%{filename}/%{version}/%{filename}-%{version}.tar.xz
+Source:         
http://download.kde.org/stable/phonon/%{filename}/%{version}/src/%{filename}-%{version}.tar.xz
 BuildRequires:  alsa-devel
 BuildRequires:  cmake
 BuildRequires:  kf5-filesystem

++++++ phonon-backend-gstreamer-4.8.0.tar.xz -> 
phonon-backend-gstreamer-4.8.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/phonon-backend-gstreamer-4.8.0/CMakeLists.txt 
new/phonon-backend-gstreamer-4.8.2/CMakeLists.txt
--- old/phonon-backend-gstreamer-4.8.0/CMakeLists.txt   2014-09-06 
18:13:59.000000000 +0200
+++ new/phonon-backend-gstreamer-4.8.2/CMakeLists.txt   2014-12-27 
15:05:27.000000000 +0100
@@ -7,7 +7,7 @@
 
 set(PHONON_GST_MAJOR_VERSION "4")
 set(PHONON_GST_MINOR_VERSION "8")
-set(PHONON_GST_PATCH_VERSION "0")
+set(PHONON_GST_PATCH_VERSION "2")
 set(PHONON_GST_VERSION 
"${PHONON_GST_MAJOR_VERSION}.${PHONON_GST_MINOR_VERSION}.${PHONON_GST_PATCH_VERSION}")
 
 add_definitions(-DPHONON_GST_VERSION="${PHONON_GST_VERSION}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/phonon-backend-gstreamer-4.8.0/gstreamer/pipeline.cpp 
new/phonon-backend-gstreamer-4.8.2/gstreamer/pipeline.cpp
--- old/phonon-backend-gstreamer-4.8.0/gstreamer/pipeline.cpp   2014-09-06 
18:13:59.000000000 +0200
+++ new/phonon-backend-gstreamer-4.8.2/gstreamer/pipeline.cpp   2014-12-27 
15:05:27.000000000 +0100
@@ -330,9 +330,10 @@
     // Instead of playing when the pipeline is still streaming, we pause
     // and let gst finish streaming.
     if ( percent < 100 && gstMessage->type == GST_MESSAGE_BUFFERING) {
-        that->setState(GST_STATE_PAUSED);
+        QMetaObject::invokeMethod(that, "setState", Qt::QueuedConnection, 
Q_ARG(GstState, GST_STATE_PAUSED));
+
     } else {
-        that->setState(GST_STATE_PLAYING);
+        QMetaObject::invokeMethod(that, "setState", Qt::QueuedConnection, 
Q_ARG(GstState, GST_STATE_PLAYING));
     }
 
     if (that->m_bufferPercent != percent) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/phonon-backend-gstreamer-4.8.0/gstreamer/pipeline.h 
new/phonon-backend-gstreamer-4.8.2/gstreamer/pipeline.h
--- old/phonon-backend-gstreamer-4.8.0/gstreamer/pipeline.h     2014-09-06 
18:13:59.000000000 +0200
+++ new/phonon-backend-gstreamer-4.8.2/gstreamer/pipeline.h     2014-12-27 
15:05:27.000000000 +0100
@@ -50,7 +50,7 @@
         GstElement *audioPipe() const;
         GstElement *videoPipe() const;
 
-        GstStateChangeReturn setState(GstState state);
+        Q_INVOKABLE GstStateChangeReturn setState(GstState state);
         GstState state() const;
         Phonon::MediaSource currentSource() const;
         void writeToDot(MediaObject *media, const QString &type);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/phonon-backend-gstreamer-4.8.0/gstreamer/videowidget.cpp 
new/phonon-backend-gstreamer-4.8.2/gstreamer/videowidget.cpp
--- old/phonon-backend-gstreamer-4.8.0/gstreamer/videowidget.cpp        
2014-09-06 18:13:59.000000000 +0200
+++ new/phonon-backend-gstreamer-4.8.2/gstreamer/videowidget.cpp        
2014-12-27 15:05:27.000000000 +0100
@@ -329,8 +329,10 @@
     g_object_get(G_OBJECT(videosink), "last-sample", &videobuffer, NULL);
 
     if (videobuffer) {
+        // TODO Might need to use BGR on big-endian
+        // Needs someone with proper hardware to test
         GstCaps *snapcaps = gst_caps_new_simple("video/x-raw",
-                                                "format = (string)", 
G_TYPE_STRING, GST_VIDEO_NE(RGB),
+                                                "format", G_TYPE_STRING, "RGB",
                                                 NULL);
 
         GstSample *sample = gst_video_convert_sample(videobuffer, snapcaps, 
GST_SECOND, NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/phonon-backend-gstreamer-4.8.0/gstreamer/x11renderer.cpp 
new/phonon-backend-gstreamer-4.8.2/gstreamer/x11renderer.cpp
--- old/phonon-backend-gstreamer-4.8.0/gstreamer/x11renderer.cpp        
2014-09-06 18:13:59.000000000 +0200
+++ new/phonon-backend-gstreamer-4.8.2/gstreamer/x11renderer.cpp        
2014-12-27 15:05:27.000000000 +0100
@@ -81,7 +81,9 @@
 
 X11Renderer::~X11Renderer()
 {
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
     m_renderWidget->setAttribute(Qt::WA_PaintOnScreen, false);
+#endif
     m_renderWidget->setAttribute(Qt::WA_NoSystemBackground, false);
     delete m_renderWidget;
 }
@@ -144,7 +146,10 @@
         // Setting these values ensures smooth resizing since it
         // will prevent the system from clearing the background
         m_renderWidget->setAttribute(Qt::WA_NoSystemBackground, true);
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
+        // Leads to tons of warnings from QWidget::paintEngine on Qt 5
         m_renderWidget->setAttribute(Qt::WA_PaintOnScreen, true);
+#endif
         setOverlay();
     } else if (e->type() == QEvent::Resize) {
         // This is a workaround for missing background repaints

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to