Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kpipewire for openSUSE:Factory 
checked in at 2023-03-17 17:01:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kpipewire (Old)
 and      /work/SRC/openSUSE:Factory/.kpipewire.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kpipewire"

Fri Mar 17 17:01:26 2023 rev:11 rq:1071990 version:5.27.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/kpipewire/kpipewire.changes      2023-03-02 
23:02:34.330911588 +0100
+++ /work/SRC/openSUSE:Factory/.kpipewire.new.31432/kpipewire.changes   
2023-03-17 17:01:33.568830693 +0100
@@ -1,0 +2,15 @@
+Tue Mar 14 15:05:53 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 5.27.3
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/plasma/5/5.27.3
+- Changes since 5.27.2:
+  * Guard m_producer
+  * stream: better fallback for BGR formats when downloading into a QImage
+  * stream: Fix support of SPA_VIDEO_FORMAT_RGB
+  * recording: Drop unnecessary conditional
+  * recording: use "good" deadline rather than quality that is deprecated 
upstream
+  * recording: Make bitrate depend on the stream size
+
+-------------------------------------------------------------------

Old:
----
  kpipewire-5.27.2.tar.xz
  kpipewire-5.27.2.tar.xz.sig

New:
----
  kpipewire-5.27.3.tar.xz
  kpipewire-5.27.3.tar.xz.sig

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

Other differences:
------------------
++++++ kpipewire.spec ++++++
--- /var/tmp/diff_new_pack.9UuTKH/_old  2023-03-17 17:01:34.072833333 +0100
+++ /var/tmp/diff_new_pack.9UuTKH/_new  2023-03-17 17:01:34.076833354 +0100
@@ -21,7 +21,7 @@
 %{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}}
 %bcond_without released
 Name:           kpipewire
-Version:        5.27.2
+Version:        5.27.3
 Release:        0
 Summary:        PipeWire integration for KDE Plasma
 License:        LGPL-2.0-only AND LGPL-3.0-only

++++++ kpipewire-5.27.2.tar.xz -> kpipewire-5.27.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpipewire-5.27.2/CMakeLists.txt 
new/kpipewire-5.27.3/CMakeLists.txt
--- old/kpipewire-5.27.2/CMakeLists.txt 2023-02-28 13:18:22.000000000 +0100
+++ new/kpipewire-5.27.3/CMakeLists.txt 2023-03-14 13:23:59.000000000 +0100
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.16)
 project(KPipewire)
-set(PROJECT_VERSION "5.27.2")
+set(PROJECT_VERSION "5.27.3")
 set(PROJECT_VERSION_MAJOR 5)
 
 set(KF5_MIN_VERSION "5.102.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpipewire-5.27.2/po/zh_CN/kpipewire5.po 
new/kpipewire-5.27.3/po/zh_CN/kpipewire5.po
--- old/kpipewire-5.27.2/po/zh_CN/kpipewire5.po 2023-02-28 13:18:22.000000000 
+0100
+++ new/kpipewire-5.27.3/po/zh_CN/kpipewire5.po 2023-03-14 13:23:59.000000000 
+0100
@@ -3,7 +3,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2022-05-31 00:52+0000\n"
-"PO-Revision-Date: 2023-02-24 12:59\n"
+"PO-Revision-Date: 2023-03-11 04:55\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpipewire-5.27.2/src/pipewirerecord.cpp 
new/kpipewire-5.27.3/src/pipewirerecord.cpp
--- old/kpipewire-5.27.2/src/pipewirerecord.cpp 2023-02-28 13:18:22.000000000 
+0100
+++ new/kpipewire-5.27.3/src/pipewirerecord.cpp 2023-03-14 13:23:59.000000000 
+0100
@@ -190,8 +190,8 @@
 
 void PipeWireRecordProduceThread::deactivate()
 {
-    m_producer->m_deactivated = true;
     if (m_producer) {
+        m_producer->m_deactivated = true;
         m_producer->m_stream->setActive(false);
     }
 }
@@ -253,11 +253,14 @@
         qCWarning(PIPEWIRERECORD_LOGGING) << "Could not allocate video codec 
context";
         return;
     }
-    m_avCodecContext->bit_rate = 100000000;
 
     const QSize size = m_stream->size();
     const Fraction framerate = m_stream->framerate();
 
+    // Have the bitrate depend on the size of the input stream. What looks 
acceptable on a small
+    // stream on a big one will look bad.
+    m_avCodecContext->bit_rate = size.width() * size.height() * 2;
+
     Q_ASSERT(!size.isEmpty());
     m_avCodecContext->width = size.width();
     m_avCodecContext->height = size.height();
@@ -274,7 +277,7 @@
     av_dict_set_int(&options, "threads", 4, 0);
     av_dict_set(&options, "preset", "ultrafast", 0);
     av_dict_set(&options, "tune-content", "screen", 0);
-    av_dict_set(&options, "quality", "realtime", 0);
+    av_dict_set(&options, "deadline", "good", 0);
 
     int ret = avcodec_open2(m_avCodecContext, m_codec, &options);
     if (ret < 0) {
@@ -434,10 +437,10 @@
         m_frame->m_avFrame->pts = AV_NOPTS_VALUE;
     }
 
-    // Let's add a key frame every 100 frames and also the first 5 frames
+    // Let's add a key frame every 100 frames and also the first frame
     if (frame.sequential && (*frame.sequential == 0 || (*frame.sequential - 
m_lastKeyFrame) > 100)) {
         m_frame->m_avFrame->key_frame = 1;
-        m_lastKeyFrame = frame.sequential.has_value() ? *frame.sequential : 11;
+        m_lastKeyFrame = *frame.sequential;
     }
 
     if (m_lastPts > 0 && m_frame->m_avFrame->pts <= m_lastPts) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpipewire-5.27.2/src/pipewiresourcestream.cpp 
new/kpipewire-5.27.3/src/pipewiresourcestream.cpp
--- old/kpipewire-5.27.2/src/pipewiresourcestream.cpp   2023-02-28 
13:18:22.000000000 +0100
+++ new/kpipewire-5.27.3/src/pipewiresourcestream.cpp   2023-03-14 
13:23:59.000000000 +0100
@@ -100,11 +100,13 @@
     switch (format) {
     case SPA_VIDEO_FORMAT_BGRx:
     case SPA_VIDEO_FORMAT_BGRA:
-        return QImage::Format_BGR30;
+        return QImage::Format_RGBA8888_Premultiplied; // TODO: Add BGR to 
QImage
     case SPA_VIDEO_FORMAT_BGR:
         return QImage::Format_BGR888;
     case SPA_VIDEO_FORMAT_RGBx:
         return QImage::Format_RGBX8888;
+    case SPA_VIDEO_FORMAT_RGB:
+        return QImage::Format_RGB888;
     case SPA_VIDEO_FORMAT_RGBA:
         return QImage::Format_RGBA8888_Premultiplied;
     default:

Reply via email to