[packages/gstreamer-plugins-bad] - patch for LCEVCdec 4.1.0

qboosh qboosh at pld-linux.org
Tue May 26 21:33:44 CEST 2026


commit c54ebb06d85cd5e79879a18fa0824a55bcf967a6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 26 21:33:50 2026 +0200

    - patch for LCEVCdec 4.1.0

 gstreamer-plugins-bad-lcevc.patch | 20 ++++++++++++++++++++
 gstreamer-plugins-bad.spec        | 13 ++++++++-----
 2 files changed, 28 insertions(+), 5 deletions(-)
---
diff --git a/gstreamer-plugins-bad.spec b/gstreamer-plugins-bad.spec
index 8b131e0..9e25c9a 100644
--- a/gstreamer-plugins-bad.spec
+++ b/gstreamer-plugins-bad.spec
@@ -87,6 +87,7 @@ Patch0:		musepack.patch
 Patch1:		%{name}-gs-c++17.patch
 Patch2:		%{name}-aja-update.patch
 Patch3:		%{name}-x265.patch
+Patch4:		%{name}-lcevc.patch
 URL:		https://gstreamer.freedesktop.org/
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	gettext-tools >= 0.17
@@ -119,7 +120,7 @@ BuildRequires:	xorg-lib-libXcomposite-devel
 %if %{with opengl} || %{with wpe}
 BuildRequires:	EGL-devel
 %endif
-BuildRequires:	LCEVCdec-devel
+BuildRequires:	LCEVCdec-devel >= 4.1
 %{?with_openal:BuildRequires:	OpenAL-devel >= 1.14}
 %{?with_openexr:BuildRequires:	OpenEXR-devel >= 3}
 %{?with_opengl:BuildRequires:	OpenGLESv2-devel}
@@ -819,6 +820,7 @@ Summary(pl.UTF-8):	Wtyczka kodeka dźwięku LCEVC dla GStreamera
 Group:		Libraries
 Requires:	gstreamer >= %{gst_ver}
 Requires:	gstreamer-plugins-base >= %{gstpb_ver}
+Requires:	LCEVCdec >= 4.1
 
 %description -n gstreamer-lcevc
 LCEVC audio codec decoder plugin for GStreamer.
@@ -1636,10 +1638,11 @@ Wtyczka GStreamera ZXing wykrywająca kody kreskowe.
 
 %prep
 %setup -q -n %{gstname}-%{version}
-%patch -P 0 -p1
-%patch -P 1 -p1
-%patch -P 2 -p1
-%patch -P 3 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
 
 # disable SCTP debugging (even though gst_debug is enabled by default)
 # (SCTP_DEBUG requires libusrsctp built with debugging)
diff --git a/gstreamer-plugins-bad-lcevc.patch b/gstreamer-plugins-bad-lcevc.patch
new file mode 100644
index 0000000..b350f61
--- /dev/null
+++ b/gstreamer-plugins-bad-lcevc.patch
@@ -0,0 +1,20 @@
+--- gst-plugins-bad-1.26.8/ext/lcevcdecoder/gstlcevcdec.c.orig	2025-11-10 18:22:05.000000000 +0100
++++ gst-plugins-bad-1.26.8/ext/lcevcdecoder/gstlcevcdec.c	2026-05-26 20:29:07.462103445 +0200
+@@ -539,7 +539,7 @@ send_enhancement_data (GstLcevcDec * lce
+   }
+ 
+   if (LCEVC_SendDecoderEnhancementData (lcevc->decoder_handle,
+-          input_buffer->pts, TRUE, enhancement_info.data,
++          input_buffer->pts, enhancement_info.data,
+           enhancement_info.size) != LCEVC_Success) {
+     GST_INFO_OBJECT (lcevc,
+         "Could not send input buffer %" GST_TIME_FORMAT
+@@ -581,7 +581,7 @@ send_base_picture (GstLcevcDec * lcevc,
+     goto done;
+   }
+ 
+-  if (LCEVC_SendDecoderBase (lcevc->decoder_handle, input_buffer->pts, TRUE,
++  if (LCEVC_SendDecoderBase (lcevc->decoder_handle, input_buffer->pts,
+           picture_handle, 1000000, NULL) != LCEVC_Success) {
+     GST_ELEMENT_ERROR (lcevc, STREAM, DECODE, (NULL),
+         ("Could not send input buffer %" GST_TIME_FORMAT " base picture",
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-bad.git/commitdiff/c54ebb06d85cd5e79879a18fa0824a55bcf967a6



More information about the pld-cvs-commit mailing list