commit kpipewire6 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kpipewire6 for openSUSE:Factory checked in at 2024-03-28 13:53:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpipewire6 (Old) and /work/SRC/openSUSE:Factory/.kpipewire6.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kpipewire6" Thu Mar 28 13:53:41 2024 rev:3 rq:1162422 version:6.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kpipewire6/kpipewire6.changes 2024-03-14 17:43:43.246432264 +0100 +++ /work/SRC/openSUSE:Factory/.kpipewire6.new.1905/kpipewire6.changes 2024-03-28 14:13:42.528163338 +0100 @@ -1,0 +2,14 @@ +Tue Mar 26 18:05:35 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de> + +- Update to 6.0.3: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.0.3 +- Changes since 6.0.2: + * fix typo + * update version for new release + * Don't set PipeWireSourceItem::enabled to true when the item becomes visible + * Drop redundant isComponentComplete() checks + * Remove redundant code + * Mark PipeWireSourceItem as enabled after receiving a frame + +------------------------------------------------------------------- Old: ---- kpipewire-6.0.2.tar.xz kpipewire-6.0.2.tar.xz.sig New: ---- kpipewire-6.0.3.tar.xz kpipewire-6.0.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpipewire6.spec ++++++ --- /var/tmp/diff_new_pack.cCPfLi/_old 2024-03-28 14:13:53.416563650 +0100 +++ /var/tmp/diff_new_pack.cCPfLi/_new 2024-03-28 14:13:53.420563797 +0100 @@ -27,7 +27,7 @@ %{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kpipewire6 -Version: 6.0.2 +Version: 6.0.3 Release: 0 Summary: PipeWire integration for KDE Plasma License: LGPL-2.0-only AND LGPL-3.0-only ++++++ kpipewire-6.0.2.tar.xz -> kpipewire-6.0.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpipewire-6.0.2/CMakeLists.txt new/kpipewire-6.0.3/CMakeLists.txt --- old/kpipewire-6.0.2/CMakeLists.txt 2024-03-12 13:44:05.000000000 +0100 +++ new/kpipewire-6.0.3/CMakeLists.txt 2024-03-26 16:19:14.000000000 +0100 @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(KPipewire VERSION "6.0.2") +project(KPipewire VERSION "6.0.3") set(KF6_MIN_VERSION "6.0.0") find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpipewire-6.0.2/src/pipewiresourceitem.cpp new/kpipewire-6.0.3/src/pipewiresourceitem.cpp --- old/kpipewire-6.0.2/src/pipewiresourceitem.cpp 2024-03-12 13:44:05.000000000 +0100 +++ new/kpipewire-6.0.3/src/pipewiresourceitem.cpp 2024-03-26 16:19:14.000000000 +0100 @@ -82,12 +82,7 @@ , d(new PipeWireSourceItemPrivate) { setFlag(ItemHasContents, true); - - connect(this, &QQuickItem::visibleChanged, this, [this]() { - setEnabled(isVisible()); - if (d->m_stream) - d->m_stream->setActive(isVisible()); - }); + setEnabled(false); } PipeWireSourceItem::~PipeWireSourceItem() @@ -101,9 +96,12 @@ { switch (change) { case ItemVisibleHasChanged: - setEnabled(isVisible()); - if (d->m_stream) - d->m_stream->setActive(isVisible() && data.boolValue && isComponentComplete()); + if (!isVisible()) { + setEnabled(false); + } + if (d->m_stream) { + d->m_stream->setActive(isVisible()); + } break; case ItemSceneChange: d->m_needsRecreateTexture = true; @@ -182,7 +180,7 @@ d->m_nodeId = 0; return; } - d->m_stream->setActive(isVisible() && isComponentComplete()); + d->m_stream->setActive(isVisible()); connect(d->m_stream.data(), &PipeWireSourceStream::frameReceived, this, &PipeWireSourceItem::processFrame); connect(d->m_stream.data(), &PipeWireSourceStream::stateChanged, this, &PipeWireSourceItem::stateChanged); @@ -389,9 +387,10 @@ int textureId = d->m_texture->textureId(); QQuickWindow::CreateTextureOption textureOption = format == SPA_VIDEO_FORMAT_ARGB || format == SPA_VIDEO_FORMAT_BGRA ? QQuickWindow::TextureHasAlphaChannel : QQuickWindow::TextureIsOpaque; - setEnabled(true); return QNativeInterface::QSGOpenGLTexture::fromNative(textureId, window(), size, textureOption); }; + + setEnabled(true); } void PipeWireSourceItem::updateTextureImage(const QImage &image) @@ -402,9 +401,10 @@ } d->m_createNextTexture = [this, image] { - setEnabled(true); return window()->createTextureFromImage(image, QQuickWindow::TextureIsOpaque); }; + + setEnabled(true); } void PipeWireSourceItem::componentComplete()
participants (1)
-
Source-Sync