Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gegl for openSUSE:Factory checked in 
at 2025-09-29 21:11:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gegl (Old)
 and      /work/SRC/openSUSE:Factory/.gegl.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gegl"

Mon Sep 29 21:11:39 2025 rev:86 rq:1307129 version:0.4.62

Changes:
--------
--- /work/SRC/openSUSE:Factory/gegl/gegl.changes        2025-05-23 
14:29:42.574442797 +0200
+++ /work/SRC/openSUSE:Factory/.gegl.new.11973/gegl.changes     2025-09-29 
21:11:41.254560644 +0200
@@ -1,0 +2,6 @@
+Thu Sep 25 12:51:08 UTC 2025 - Bjørn Lie <[email protected]>
+
+- Add eda8ba51.patch: operations: Support FFMPEG 8 on ff-load
+  (boo#1249045).
+
+-------------------------------------------------------------------

New:
----
  eda8ba51.patch

----------(New B)----------
  New:
- Add eda8ba51.patch: operations: Support FFMPEG 8 on ff-load
  (boo#1249045).
----------(New E)----------

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

Other differences:
------------------
++++++ gegl.spec ++++++
--- /var/tmp/diff_new_pack.6diRo6/_old  2025-09-29 21:11:42.246602325 +0200
+++ /var/tmp/diff_new_pack.6diRo6/_new  2025-09-29 21:11:42.250602493 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gegl
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,8 @@
 Source0:        
https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.xz
 Source1:        normalize-gir.pl
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM eda8ba51.patch -- operations: Support FFMPEG 8 on ff-load
+Patch0:         https://gitlab.gnome.org/GNOME/gegl/-/commit/eda8ba51.patch
 
 BuildRequires:  ImageMagick
 BuildRequires:  asciidoc

++++++ eda8ba51.patch ++++++
>From eda8ba51786f197b72265eafcdab407d91ec9c70 Mon Sep 17 00:00:00 2001
From: Bruno Lopes <[email protected]>
Date: Fri, 5 Sep 2025 19:46:24 -0300
Subject: [PATCH] operations: Support FFMPEG 8 on ff-load

Closes #428

Patch from https://github.com/msys2/MINGW-packages/pull/25335
---
 operations/external/ff-load.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index a8c266827..babd7f6d6 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -349,7 +349,11 @@ decode_frame (GeglOperation *operation,
   if (frame < 2 || frame > prevframe + 64 || frame < prevframe )
   {
     int64_t seek_target = av_rescale_q (((frame) * AV_TIME_BASE * 1.0) / 
o->frame_rate
+#if LIBAVCODEC_VERSION_MAJOR < 60
 , AV_TIME_BASE_Q, p->video_stream->time_base) / p->video_ctx->ticks_per_frame;
+#else
+, AV_TIME_BASE_Q, p->video_stream->time_base) / 
(p->video_ctx->codec_descriptor->props & AV_CODEC_PROP_FIELDS ? 2 : 1);
+#endif
 
     if (av_seek_frame (p->video_fcontext, p->video_index, seek_target, 
(AVSEEK_FLAG_BACKWARD )) < 0)
       fprintf (stderr, "video seek error!\n");
@@ -403,7 +407,11 @@ decode_frame (GeglOperation *operation,
                   break;
                 }
               got_picture = 1;
+#if LIBAVUTIL_VERSION_MAJOR < 58
               if ((pkt.dts == pkt.pts) || (p->lavc_frame->key_frame!=0))
+#else
+              if ((pkt.dts == pkt.pts) || (p->lavc_frame->flags & 
AV_FRAME_FLAG_KEY))
+#endif
                 {
                   // cur_dts and first_dts are moved to libavformat/internal.h
                   /*
-- 
GitLab

Reply via email to