[gstreamer-vaapi/f32] Provide Wayland support now that libva includes it
by Dominik Mierzejewski
commit 89db0e9ec9c5575b46f5688513efcc0d407aa7c7
Author: Simon Farnsworth <simon.farnsworth(a)onelan.co.uk>
Date: Wed Apr 9 10:07:39 2014 +0100
Provide Wayland support now that libva includes it
gstreamer1-vaapi.spec | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer1-vaapi.spec b/gstreamer1-vaapi.spec
index f3b4698..af9c0f9 100644
--- a/gstreamer1-vaapi.spec
+++ b/gstreamer1-vaapi.spec
@@ -1,6 +1,6 @@
Name: gstreamer1-vaapi
Version: 0.5.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: GStreamer plugins to use VA API video acceleration
License: LGPLv2+
@@ -17,6 +17,12 @@ BuildRequires: libva-devel >= 1.1.0
BuildRequires: libdrm-devel
BuildRequires: libudev-devel
BuildRequires: libGL-devel
+%{!?_without_wayland:
+BuildRequires: wayland-devel
+BuildRequires: pkgconfig(wayland-client) >= 1
+BuildRequires: pkgconfig(wayland-scanner) >= 1
+BuildRequires: pkgconfig(wayland-server) >= 1
+}
%description
@@ -46,7 +52,10 @@ chmod -x ./tests/test-filter.c ./gst-libs/gst/vaapi/gstvaapifilter.c ./gst-libs/
# Wayland support in libva isn't present - gstreamer-vaapi can't support Wayland without it
# https://bugzilla.redhat.com/show_bug.cgi?id=1051862
-%configure --enable-static=no --disable-wayland
+%configure \
+ --enable-static=no \
+ %{?_without_wayland:--disable-wayland}
+
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -76,6 +85,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%{_libdir}/pkgconfig/gstreamer-vaapi*.pc
%changelog
+* Wed Apr 9 2014 Simon Farnsworth <simon.farnsworth(a)onelan.co.uk> - 0.5.8-4
+- Provide Wayland support now that libva includes it
+
* Fri Feb 7 2014 Simon Farnsworth <simon(a)farnz.org.uk> - 0.5.8-3
- Fix typo in spec file - Patch1 and %patch0 don't go together
4 years, 2 months
[gstreamer-vaapi/f32] Fix typo in spec file - Patch1 and %patch0 don't go together
by Dominik Mierzejewski
commit 1299a699ef712bd0614449eeef2159434b400a39
Author: Simon Farnsworth <simon.farnsworth(a)onelan.co.uk>
Date: Fri Feb 7 15:00:44 2014 +0000
Fix typo in spec file - Patch1 and %patch0 don't go together
gstreamer1-vaapi.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer1-vaapi.spec b/gstreamer1-vaapi.spec
index 5fd3780..f3b4698 100644
--- a/gstreamer1-vaapi.spec
+++ b/gstreamer1-vaapi.spec
@@ -1,13 +1,13 @@
Name: gstreamer1-vaapi
Version: 0.5.8
-Release: 2%{?dist}
+Release: 3%{?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/gstrea...
# Fix for https://bugzilla.gnome.org/show_bug.cgi?id=723834
-Patch1: 0001-vaapipostproc-Create-filter-surface-pool-if-it-does-.patch
+Patch0: 0001-vaapipostproc-Create-filter-surface-pool-if-it-does-.patch
BuildRequires: glib2-devel >= 2.28
BuildRequires: gstreamer1-devel >= 1.0.0
@@ -76,6 +76,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%{_libdir}/pkgconfig/gstreamer-vaapi*.pc
%changelog
+* Fri Feb 7 2014 Simon Farnsworth <simon(a)farnz.org.uk> - 0.5.8-3
+- Fix typo in spec file - Patch1 and %patch0 don't go together
+
* Fri Feb 7 2014 Simon Farnsworth <simon(a)farnz.org.uk> - 0.5.8-2
- Fix vaapipostproc crash in live pipelines
4 years, 2 months
[gstreamer-vaapi/f32] Fix vaapipostproc crash in live pipelines
by Dominik Mierzejewski
commit 456c9ddfad3ecef37d54543c201277db8cc46831
Author: Simon Farnsworth <simon.farnsworth(a)onelan.co.uk>
Date: Fri Feb 7 14:57:35 2014 +0000
Fix vaapipostproc crash in live pipelines
...oc-Create-filter-surface-pool-if-it-does-.patch | 33 ++++++++++++++++++++++
gstreamer1-vaapi.spec | 8 +++++-
2 files changed, 40 insertions(+), 1 deletion(-)
---
diff --git a/0001-vaapipostproc-Create-filter-surface-pool-if-it-does-.patch b/0001-vaapipostproc-Create-filter-surface-pool-if-it-does-.patch
new file mode 100644
index 0000000..ced901e
--- /dev/null
+++ b/0001-vaapipostproc-Create-filter-surface-pool-if-it-does-.patch
@@ -0,0 +1,33 @@
+From 4998c53c8775f79b7e19a93ed47a0e7e65f6be03 Mon Sep 17 00:00:00 2001
+From: Simon Farnsworth <simon.farnsworth(a)onelan.co.uk>
+Date: Fri, 7 Feb 2014 12:27:50 +0000
+Subject: [PATCH] vaapipostproc: Create filter surface pool if it does not
+ exist
+
+ensure_srcpad_buffer_pool tries to avoid unnecessarily deleting and
+recreating filter_pool. Unfortunately, this also meant it didn't create it
+if it did not exist.
+
+Fix it to always create the buffer pool if it does not exist.
+
+Signed-off-by: Simon Farnsworth <simon.farnsworth(a)onelan.co.uk>
+---
+ gst/vaapi/gstvaapipostproc.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/vaapi/gstvaapipostproc.c b/gst/vaapi/gstvaapipostproc.c
+index f1be89c..70cc411 100644
+--- a/gst/vaapi/gstvaapipostproc.c
++++ b/gst/vaapi/gstvaapipostproc.c
+@@ -1126,7 +1126,7 @@ ensure_srcpad_buffer_pool(GstVaapiPostproc *postproc, GstCaps *caps)
+ gst_video_info_set_format(&vi, postproc->format,
+ GST_VIDEO_INFO_WIDTH(&vi), GST_VIDEO_INFO_HEIGHT(&vi));
+
+- if (!video_info_changed(&vi, &postproc->filter_pool_info))
++ if (postproc->filter_pool && !video_info_changed(&vi, &postproc->filter_pool_info))
+ return TRUE;
+ postproc->filter_pool_info = vi;
+
+--
+1.8.5.3
+
diff --git a/gstreamer1-vaapi.spec b/gstreamer1-vaapi.spec
index 939f86c..5fd3780 100644
--- a/gstreamer1-vaapi.spec
+++ b/gstreamer1-vaapi.spec
@@ -1,11 +1,13 @@
Name: gstreamer1-vaapi
Version: 0.5.8
-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/gstrea...
+# Fix for https://bugzilla.gnome.org/show_bug.cgi?id=723834
+Patch1: 0001-vaapipostproc-Create-filter-surface-pool-if-it-does-.patch
BuildRequires: glib2-devel >= 2.28
BuildRequires: gstreamer1-devel >= 1.0.0
@@ -35,6 +37,7 @@ developing applications that use %{name}.
%prep
%setup -q -n gstreamer-vaapi-%{version}
+%patch0 -p1
%build
@@ -73,5 +76,8 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%{_libdir}/pkgconfig/gstreamer-vaapi*.pc
%changelog
+* Fri Feb 7 2014 Simon Farnsworth <simon(a)farnz.org.uk> - 0.5.8-2
+- Fix vaapipostproc crash in live pipelines
+
* Wed Feb 5 2014 Simon Farnsworth <simon(a)farnz.org.uk> - 0.5.8-1
- initial release
4 years, 2 months
[gstreamer-vaapi] (12 commits) ...upload sources with SHA512 hash
by Dominik Mierzejewski
Summary of changes:
259d09d... Initial release (*)
456c9dd... Fix vaapipostproc crash in live pipelines (*)
1299a69... Fix typo in spec file - Patch1 and %patch0 don't go togethe (*)
89db0e9... Provide Wayland support now that libva includes it (*)
8ef6135... - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass (*)
a14e790... Update to 0.5.9 release (*)
a43929c... - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_M (*)
f7f8b89... There is no Wayland in EPEL. Updating spec file with %if... (*)
7e0bb5f... Rebuilt for vaapi 0.36 (*)
a83606e... rebuilt for gstreamer-0.10 (*)
5ad134e... modernize spec file (*)
149113e... upload sources with SHA512 hash (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[gstreamer-vaapi/f33] (12 commits) ...upload sources with SHA512 hash
by Dominik Mierzejewski
Summary of changes:
259d09d... Initial release (*)
456c9dd... Fix vaapipostproc crash in live pipelines (*)
1299a69... Fix typo in spec file - Patch1 and %patch0 don't go togethe (*)
89db0e9... Provide Wayland support now that libva includes it (*)
8ef6135... - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass (*)
a14e790... Update to 0.5.9 release (*)
a43929c... - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_M (*)
f7f8b89... There is no Wayland in EPEL. Updating spec file with %if... (*)
7e0bb5f... Rebuilt for vaapi 0.36 (*)
a83606e... rebuilt for gstreamer-0.10 (*)
5ad134e... modernize spec file (*)
149113e... upload sources with SHA512 hash (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 2 months
[gstreamer-vaapi/f32] Initial release
by Dominik Mierzejewski
commit 259d09d643dfc63072602eb7d736f8a577c89f53
Author: Simon Farnsworth <simon.farnsworth(a)onelan.co.uk>
Date: Fri Feb 7 09:56:59 2014 +0000
Initial release
.gitignore | 1 +
gstreamer1-vaapi.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 79 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45381d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gstreamer-vaapi-0.5.8.tar.bz2
diff --git a/gstreamer1-vaapi.spec b/gstreamer1-vaapi.spec
new file mode 100644
index 0000000..939f86c
--- /dev/null
+++ b/gstreamer1-vaapi.spec
@@ -0,0 +1,77 @@
+Name: gstreamer1-vaapi
+Version: 0.5.8
+Release: 1%{?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/gstrea...
+
+BuildRequires: glib2-devel >= 2.28
+BuildRequires: gstreamer1-devel >= 1.0.0
+BuildRequires: gstreamer1-plugins-base-devel >= 1.0.0
+BuildRequires: gstreamer1-plugins-bad-free-devel >= 1.0.0
+BuildRequires: libva-devel >= 1.1.0
+BuildRequires: libdrm-devel
+BuildRequires: libudev-devel
+BuildRequires: libGL-devel
+
+%description
+
+A collection of GStreamer plugins to let you make use of VA API video
+acceleration from GStreamer applications.
+
+Includes elements for video decoding, display, encoding and post-processing
+using VA API (subject to hardware limitations).
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?isa} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q -n gstreamer-vaapi-%{version}
+
+%build
+
+# Fix for https://bugzilla.gnome.org/show_bug.cgi?id=723748
+chmod -x ./tests/test-filter.c ./gst-libs/gst/vaapi/gstvaapifilter.c ./gst-libs/gst/vaapi/gstvaapifilter.h
+
+# Wayland support in libva isn't present - gstreamer-vaapi can't support Wayland without it
+# https://bugzilla.redhat.com/show_bug.cgi?id=1051862
+%configure --enable-static=no --disable-wayland
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB NEWS README
+%{_libdir}/*.so.*
+%{_libdir}/gstreamer-1.0/*.so
+
+%files devel
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB NEWS README
+%{_includedir}/gstreamer-1.2/gst/vaapi
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/gstreamer-vaapi*.pc
+
+%changelog
+* Wed Feb 5 2014 Simon Farnsworth <simon(a)farnz.org.uk> - 0.5.8-1
+- initial release
diff --git a/sources b/sources
index e69de29..2454033 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+375ddbab556e53ccc311b792f2c649a7 gstreamer-vaapi-0.5.8.tar.bz2
4 years, 2 months