Fix build on big-endian
This commit is contained in:
parent
c07b764297
commit
ea22521355
32
0001-video-converter-fix-compilation-on-big-endian.patch
Normal file
32
0001-video-converter-fix-compilation-on-big-endian.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 9144a787dfed694ea646e3f35dcf6b35be1330ea Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wim Taymans <wtaymans@redhat.com>
|
||||||
|
Date: Thu, 7 Jul 2016 17:29:34 +0200
|
||||||
|
Subject: [PATCH] video-converter: fix compilation on big-endian
|
||||||
|
|
||||||
|
---
|
||||||
|
gst-libs/gst/video/video-converter.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c
|
||||||
|
index de9bab4..e67a32a 100644
|
||||||
|
--- a/gst-libs/gst/video/video-converter.c
|
||||||
|
+++ b/gst-libs/gst/video/video-converter.c
|
||||||
|
@@ -3575,6 +3575,7 @@ convert_AYUV_RGBA (GstVideoConverter * convert, const GstVideoFrame * src,
|
||||||
|
|
||||||
|
convert_fill_border (convert, dest);
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
static void
|
||||||
|
convert_I420_BGRA (GstVideoConverter * convert, const GstVideoFrame * src,
|
||||||
|
@@ -3687,7 +3688,6 @@ convert_I420_pack_ARGB (GstVideoConverter * convert, const GstVideoFrame * src,
|
||||||
|
}
|
||||||
|
convert_fill_border (convert, dest);
|
||||||
|
}
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
static void
|
||||||
|
memset_u24 (guint8 * data, guint8 col[3], unsigned int n)
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: gstreamer1-plugins-base
|
Name: gstreamer1-plugins-base
|
||||||
Version: 1.9.1
|
Version: 1.9.1
|
||||||
Release: 1%{?gitcommit:.git%{shortcommit}}%{?dist}
|
Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist}
|
||||||
Summary: GStreamer streaming media framework base plugins
|
Summary: GStreamer streaming media framework base plugins
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -19,6 +19,7 @@ Source0: gst-plugins-base-%{version}.tar.xz
|
|||||||
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
|
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
|
||||||
%endif
|
%endif
|
||||||
Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
|
Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
|
||||||
|
Patch1: 0001-video-converter-fix-compilation-on-big-endian.patch
|
||||||
|
|
||||||
BuildRequires: gstreamer1-devel >= %{version}
|
BuildRequires: gstreamer1-devel >= %{version}
|
||||||
BuildRequires: gobject-introspection-devel >= 1.31.1
|
BuildRequires: gobject-introspection-devel >= 1.31.1
|
||||||
@ -97,6 +98,7 @@ for the GStreamer Base Plugins library.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n gst-plugins-base-%{version}
|
%setup -q -n gst-plugins-base-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -422,6 +424,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-play-1.0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 07 2016 Wim Taymans <wtaymans@redhat.com> - 1.9.1-2
|
||||||
|
- Fix build on big-endian
|
||||||
|
|
||||||
* Thu Jul 07 2016 Wim Taymans <wtaymans@redhat.com> - 1.9.1-1
|
* Thu Jul 07 2016 Wim Taymans <wtaymans@redhat.com> - 1.9.1-1
|
||||||
- Update to 1.9.1
|
- Update to 1.9.1
|
||||||
- add audio-resampler.h
|
- add audio-resampler.h
|
||||||
|
Loading…
Reference in New Issue
Block a user