Accepting request 1203569 from graphics
OBS-URL: https://build.opensuse.org/request/show/1203569 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gegl?expand=0&rev=77
This commit is contained in:
commit
780115f145
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 16 11:20:53 UTC 2024 - Stephan Hemeier <Sauerlandlinux@gmx.de>
|
||||||
|
|
||||||
|
- add revertleap.patch to get gegl build on older ffmpegs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 31 06:02:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Wed Jul 31 06:02:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ Source1: normalize-gir.pl
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM
|
# PATCH-FIX-UPSTREAM
|
||||||
Patch0: https://gitlab.gnome.org/GNOME/gegl/-/commit/66de8124.patch
|
Patch0: https://gitlab.gnome.org/GNOME/gegl/-/commit/66de8124.patch
|
||||||
|
Patch1: revertleap.patch
|
||||||
|
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
|
17
revertleap.patch
Normal file
17
revertleap.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff -Naur gegl-0.4.48/operations/external/ff-save.c gegl-0.4.48n/operations/external/ff-save.c
|
||||||
|
--- gegl-0.4.48/operations/external/ff-save.c 2024-09-16 13:16:40.708415682 +0200
|
||||||
|
+++ gegl-0.4.48n/operations/external/ff-save.c 2024-09-16 13:16:16.068494024 +0200
|
||||||
|
@@ -470,8 +470,13 @@
|
||||||
|
{
|
||||||
|
float left = 0, right = 0;
|
||||||
|
get_sample_data (p, i + p->audio_read_pos, &left, &right);
|
||||||
|
+#if LIBAVCODEC_VERSION_MAJOR < 61
|
||||||
|
+ ((int32_t*)frame->data[0])[c->channels*i+0] = left * (1<<31);
|
||||||
|
+ ((int32_t*)frame->data[0])[c->channels*i+1] = right * (1<<31);
|
||||||
|
+#else
|
||||||
|
((int32_t*)frame->data[0])[c->ch_layout.nb_channels*i+0] = left * (1<<31);
|
||||||
|
((int32_t*)frame->data[0])[c->ch_layout.nb_channels*i+1] = right * (1<<31);
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case AV_SAMPLE_FMT_S32P:
|
Loading…
Reference in New Issue
Block a user