Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package QMPlay2 for openSUSE:Factory checked in at 2021-03-06 21:19:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old) and /work/SRC/openSUSE:Factory/.QMPlay2.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QMPlay2" Sat Mar 6 21:19:25 2021 rev:50 rq:877369 version:20.12.16 Changes: -------- --- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes 2020-12-17 17:09:14.121966712 +0100 +++ /work/SRC/openSUSE:Factory/.QMPlay2.new.2378/QMPlay2.changes 2021-03-06 21:19:27.493283059 +0100 @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Fri Mar 5 17:54:41 UTC 2021 - Simon Vogl <simon.v...@gmx.net> + +- Added 0001-fix-youtube-quality.patch to fix wrong YouTube quality selection + +------------------------------------------------------------------- New: ---- 0001-fix-youtube-quality.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ QMPlay2.spec ++++++ --- /var/tmp/diff_new_pack.Fqx9f3/_old 2021-03-06 21:19:28.017283493 +0100 +++ /var/tmp/diff_new_pack.Fqx9f3/_new 2021-03-06 21:19:28.021283497 +0100 @@ -1,7 +1,7 @@ # # spec file for package QMPlay2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,8 @@ Source: https://github.com/zaps166/QMPlay2/releases/download/%{version}/QMPlay2-src-%{version}.tar.xz # PATCH-FIX-OPENSUSE Patch1: 0001-fix-broken-python-detection.patch +# PATCH-FIX-UPSTREAM +Patch2: 0001-fix-youtube-quality.patch BuildRequires: cmake >= 3.5 BuildRequires: gcc-c++ BuildRequires: ninja ++++++ 0001-fix-youtube-quality.patch ++++++ From: Simon Vogl <simon.v...@gmx.net> Date: Fri, 5 Mar 2021 17:54:41 UTC Subject: [PATCH] Fix unintended low quality of YouTube videos inside QMPlay2. This patch is required to prevent QMPlay2 from selecting wrong quality presets for YouTube. diff --git a/src/modules/Extensions/YouTube.cpp b/src/modules/Extensions/YouTube.cpp index 0ffbfb5c..78ee6755 100644 --- a/src/modules/Extensions/YouTube.cpp +++ b/src/modules/Extensions/YouTube.cpp @@ -961,10 +961,10 @@ QStringList YouTube::getYouTubeVideo(const QString ¶m, const QString &url, I if (format.isEmpty()) continue; - const auto container = format["container"].toString(); - if (container.contains("dash", Qt::CaseInsensitive)) + const auto protocol = format["protocol"].toString(); + if (protocol.contains("dash", Qt::CaseInsensitive)) { - // Skip MP4 DASH, because it doesn't work properly + // Skip MP4 DASH, because it doesn't work properly (old comment, is it still valid?) continue; }