diff --git a/0001-window-Correct-prototype-to-match-implementation.patch b/0001-window-Correct-prototype-to-match-implementation.patch new file mode 100644 index 0000000..c66b2d6 --- /dev/null +++ b/0001-window-Correct-prototype-to-match-implementation.patch @@ -0,0 +1,25 @@ +From 2be235474ed11063c608a0d51a189a106b4f38b5 Mon Sep 17 00:00:00 2001 +From: Simon Farnsworth +Date: Sun, 15 Feb 2015 15:01:03 +0000 +Subject: [PATCH] window: Correct prototype to match implementation + +--- + gst-libs/gst/vaapi/gstvaapiwindow_priv.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_priv.h b/gst-libs/gst/vaapi/gstvaapiwindow_priv.h +index af1581b..08cd90c 100644 +--- a/gst-libs/gst/vaapi/gstvaapiwindow_priv.h ++++ b/gst-libs/gst/vaapi/gstvaapiwindow_priv.h +@@ -111,7 +111,7 @@ struct _GstVaapiWindowClass + + GstVaapiWindow * + gst_vaapi_window_new_internal (const GstVaapiWindowClass * window_class, +- GstVaapiDisplay * display, guintptr handle, guint width, guint height); ++ GstVaapiDisplay * display, GstVaapiID handle, guint width, guint height); + + /* Inline reference counting for core libgstvaapi library */ + #ifdef IN_LIBGSTVAAPI_CORE +-- +2.1.0 + diff --git a/gstreamer1-vaapi.spec b/gstreamer1-vaapi.spec index 8f64fc8..5742af2 100644 --- a/gstreamer1-vaapi.spec +++ b/gstreamer1-vaapi.spec @@ -1,11 +1,13 @@ Name: gstreamer1-vaapi Version: 0.5.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GStreamer plugins to use VA API video acceleration License: LGPLv2+ URL: https://gitorious.org/vaapi/gstreamer-vaapi/ Source0: http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.bz2 +# https://bugzilla.gnome.org/show_bug.cgi?id=744559 +Patch1: 0001-window-Correct-prototype-to-match-implementation.patch BuildRequires: glib2-devel >= 2.28 BuildRequires: gstreamer1-devel >= 1.0.0 @@ -48,6 +50,7 @@ developing applications that use %{name}. %prep %setup -q -n gstreamer-vaapi-%{version} +%patch1 -p1 -b .gstvaapiid %build @@ -90,6 +93,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %{_libdir}/pkgconfig/gstreamer-vaapi*.pc %changelog +* Sun Feb 15 2015 Simon Farnsworth - 0.5.10-2 +- Fix FTBFS on s390x due to header file not matching implementation + * Tue Feb 3 2015 Simon Farnsworth - 0.5.10-1 - Update to 0.5.10 release - Filter out encoder and decoder Provides