Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package webkit2gtk3 for openSUSE:Factory 
checked in at 2024-11-14 16:07:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/webkit2gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.webkit2gtk3.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "webkit2gtk3"

Thu Nov 14 16:07:31 2024 rev:206 rq:1223879 version:2.46.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/webkit2gtk3/webkit2gtk3.changes  2024-11-06 
16:49:59.047232481 +0100
+++ /work/SRC/openSUSE:Factory/.webkit2gtk3.new.2017/webkit2gtk3.changes        
2024-11-14 16:07:45.788457062 +0100
@@ -1,0 +2,6 @@
+Tue Nov 12 17:24:48 UTC 2024 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add 9e9ea966373d3858668f6a29d8ba91a5807c8dd8.patch: Fix aspect
+  ratio in videos with gststreamer-1.24.9.
+
+-------------------------------------------------------------------

New:
----
  9e9ea966373d3858668f6a29d8ba91a5807c8dd8.patch

BETA DEBUG BEGIN:
  New:
- Add 9e9ea966373d3858668f6a29d8ba91a5807c8dd8.patch: Fix aspect
  ratio in videos with gststreamer-1.24.9.
BETA DEBUG END:

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

Other differences:
------------------
++++++ webkit2gtk3.spec ++++++
--- /var/tmp/diff_new_pack.VvL91x/_old  2024-11-14 16:07:46.416482961 +0100
+++ /var/tmp/diff_new_pack.VvL91x/_new  2024-11-14 16:07:46.416482961 +0100
@@ -92,6 +92,8 @@
 
 # PATCH-FEATURE-OPENSUSE reproducibility.patch -- Make build reproducible
 Patch0:         reproducibility.patch
+# PATCH-FIX-UPSTREAM 9e9ea966373d3858668f6a29d8ba91a5807c8dd8.patch -- Fix 
aspect ratio with gst-1.24.9
+Patch1:         
https://github.com/WebKit/WebKit/commit/9e9ea966373d3858668f6a29d8ba91a5807c8dd8.patch
 
 BuildRequires:  Mesa-libEGL-devel
 BuildRequires:  Mesa-libGL-devel

++++++ 9e9ea966373d3858668f6a29d8ba91a5807c8dd8.patch ++++++
>From 9e9ea966373d3858668f6a29d8ba91a5807c8dd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9o=20Maillart?= <tmaill...@freebox.fr>
Date: Fri, 8 Nov 2024 09:50:53 -0800
Subject: [PATCH] [GStreamer] Video dimensions are wrong since GStreamer 1.24.9
 https://bugs.webkit.org/show_bug.cgi?id=282749

Reviewed by Philippe Normand.

With the latest version of GStreamer, if the source is not selectable,
uridecodebin3 will drop the stream collection emitted from this element
As we only consider stream collection from the source element, we will
never set the stream collection internally, this will produce faulty
behaviour such as using wrong video dimensions
To avoid that, we reply true to the selectable query

* Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp:
(webKitMediaSrcQuery):

Canonical link: https://commits.webkit.org/286347@main
---
 .../graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp  | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp 
b/Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp
index c0a67c5f23f25..45b4f160e5630 100644
--- 
a/Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp
+++ 
b/Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp
@@ -255,6 +255,13 @@ static const char* 
streamTypeToString(TrackPrivateBaseGStreamer::TrackType type)
 
 static gboolean webKitMediaSrcQuery(GstElement* element, GstQuery* query)
 {
+#if GST_CHECK_VERSION(1, 22, 0)
+    if (GST_QUERY_TYPE(query) == GST_QUERY_SELECTABLE) {
+        gst_query_set_selectable(query, TRUE);
+        return TRUE;
+    }
+#endif
+
     gboolean result = GST_ELEMENT_CLASS(parent_class)->query(element, query);
 
     if (GST_QUERY_TYPE(query) != GST_QUERY_SCHEDULING)

Reply via email to