[packages/mediastreamer-plugin-msx264] - new URLs, updated to 1.5.4 - added ms2-update patch from git, disable -Werror

qboosh qboosh at pld-linux.org
Sun Jul 18 09:47:40 CEST 2021


commit 9c747d4c12c68e9298940b1bb4db519b3f2bd120
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 18 09:50:56 2021 +0200

    - new URLs, updated to 1.5.4
    - added ms2-update patch from git, disable -Werror

 mediastreamer-plugin-msx264.spec | 16 ++++++++++------
 msx264-ms2-update.patch          | 26 ++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 6 deletions(-)
---
diff --git a/mediastreamer-plugin-msx264.spec b/mediastreamer-plugin-msx264.spec
index 248c377..d36ffe6 100644
--- a/mediastreamer-plugin-msx264.spec
+++ b/mediastreamer-plugin-msx264.spec
@@ -1,13 +1,15 @@
 Summary:	H264 video codec for mediastreamer
 Summary(pl.UTF-8):	Kodek obrazu H264 dla mediastreamera
 Name:		mediastreamer-plugin-msx264
-Version:	1.5.3
-Release:	3
+Version:	1.5.4
+Release:	1
 License:	GPL v2+
 Group:		Libraries
-Source0:	http://linphone.org/releases/sources/plugins/msx264/msx264-%{version}.tar.gz
-# Source0-md5:	8dc5482d12bdb5d89bdfa9f71163e08a
-URL:		https://github.com/Distrotech/msx264
+#Source0Download: https://gitlab.linphone.org/BC/public/msx264/-/tags
+Source0:	https://gitlab.linphone.org/BC/public/msx264/-/archive/%{version}/msx264-%{version}.tar.bz2
+# Source0-md5:	3829813876f33bd30c50519d66b07c18
+Patch0:		msx264-ms2-update.patch
+URL:		https://gitlab.linphone.org/BC/public/msx264
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	mediastreamer-devel >= 2.7.0
@@ -29,6 +31,7 @@ Ten pakiet udostępnia wtyczkę mediastreamera do kodeka obrazu H264.
 
 %prep
 %setup -q -n msx264-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -36,7 +39,8 @@ Ten pakiet udostępnia wtyczkę mediastreamera do kodeka obrazu H264.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--disable-strict
 
 %{__make}
 
diff --git a/msx264-ms2-update.patch b/msx264-ms2-update.patch
new file mode 100644
index 0000000..1861381
--- /dev/null
+++ b/msx264-ms2-update.patch
@@ -0,0 +1,26 @@
+From 1df2129d373c4752929f2d0ae834dbdeb4855170 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micka=C3=ABl=20Turnel?=
+ <mickael.turnel at belledonne-communications.com>
+Date: Thu, 30 Nov 2017 15:51:09 +0100
+Subject: [PATCH] Fix H264 not using defined MTU
+
+---
+ src/msx264.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/msx264.c b/src/msx264.c
+index 2e7d43f..54543b9 100644
+--- a/src/msx264.c
++++ b/src/msx264.c
+@@ -159,7 +159,7 @@ static void enc_preprocess(MSFilter *f){
+ 	EncData *d=(EncData*)f->data;
+ 	x264_param_t *params=&d->params;
+ 
+-	d->packer=rfc3984_new();
++	d->packer=rfc3984_new_with_factory(f->factory);
+ 	rfc3984_set_mode(d->packer,d->mode);
+ 	rfc3984_enable_stap_a(d->packer,FALSE);
+ #if defined(__arm__) || defined(__ANDROID__)
+-- 
+GitLab
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mediastreamer-plugin-msx264.git/commitdiff/9c747d4c12c68e9298940b1bb4db519b3f2bd120



More information about the pld-cvs-commit mailing list