Update to 1.10.2

el8
leigh123linux 8 years ago
parent 9564445437
commit 62588e7c5f

10
.gitignore vendored

@ -1,8 +1,2 @@
gst-libav-1.4.5.tar.xz /gst-libav-*.tar.xz
libav-10.6.tar.xz /gstreamer1-libav-*.src.rpm
gst-libav-1.6.1.tar.xz
gst-libav-1.6.2.tar.xz
gst-libav-1.6.3.tar.xz
gst-libav-1.8.1.tar.xz
gst-libav-1.8.2.tar.xz
/gst-libav-1.10.0.tar.xz

@ -1,39 +0,0 @@
--- a/ext/libav/gstavviddec.c
+++ b/ext/libav/gstavviddec.c
@@ -2064,6 +2064,13 @@
if (strstr (in_plugin->name, "vaapi")) {
GST_DEBUG
("Ignoring VAAPI decoder %s. We can't handle this outside of ffmpeg",
+ in_plugin->name);
+ goto next;
+ }
+
+ if (g_str_has_suffix (in_plugin->name, "_qsv")) {
+ GST_DEBUG
+ ("Ignoring qsv decoder %s. We can't handle this outside of ffmpeg",
in_plugin->name);
goto next;
}
--- a/ext/libav/gstavvidenc.c
+++ b/ext/libav/gstavvidenc.c
@@ -974,12 +974,19 @@ gst_ffmpegvidenc_register (GstPlugin * p
goto next;
}
- if (g_str_has_suffix (in_plugin->name, "_nvenc")) {
+ if (strstr (in_plugin->name, "nvenc")) {
GST_DEBUG
("Ignoring nvenc encoder %s. We can't handle this outside of ffmpeg",
in_plugin->name);
goto next;
}
+
+ if (g_str_has_suffix (in_plugin->name, "_qsv")) {
+ GST_DEBUG
+ ("Ignoring qsv encoder %s. We can't handle this outside of ffmpeg",
+ in_plugin->name);
+ goto next;
+ }
/* only video encoders */
if (!av_codec_is_encoder (in_plugin)

@ -1,16 +1,18 @@
Name: gstreamer1-libav Name: gstreamer1-libav
Version: 1.10.0 Version: 1.10.2
Release: 2%{?dist} Release: 1%{?dist}
Summary: GStreamer 1.0 libav-based plug-ins Summary: GStreamer 1.0 libav-based plug-ins
Group: Applications/Multimedia Group: Applications/Multimedia
License: LGPLv2+ License: LGPLv2+
URL: http://gstreamer.freedesktop.org/ URL: http://gstreamer.freedesktop.org/
Source0: http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-%{version}.tar.xz Source0: http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-%{version}.tar.xz
Patch0: gst-ffmpeg-0.10.12-ChangeLog-UTF-8.patch Patch0: gst-ffmpeg-0.10.12-ChangeLog-UTF-8.patch
Patch2: disable_ffmpeg_hw_acceleration.patch BuildRequires: gstreamer1-devel >= 1.10.0
BuildRequires: gstreamer1-devel >= 1.6.0 BuildRequires: gstreamer1-plugins-base-devel >= 1.10.0
BuildRequires: gstreamer1-plugins-base-devel >= 1.6.0 BuildRequires: orc-devel
BuildRequires: orc-devel bzip2-devel zlib-devel ffmpeg-devel BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: ffmpeg-devel
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
BuildRequires: yasm BuildRequires: yasm
%endif %endif
@ -43,14 +45,12 @@ plug-in.
%prep %prep
%setup -q -n gst-libav-%{version} %setup -q -n gst-libav-%{version}
%patch0 -p1 %patch0 -p1
%patch2 -p1
# Build against 1.9.2 as 1.10.0 is not yet in the stable Fedora repo
sed -i 's/1.10.0/1.9.2/' configure
%build %build
export CFLAGS="$RPM_OPT_FLAGS -Wno-deprecated-declarations" export CFLAGS="$RPM_OPT_FLAGS -Wno-deprecated-declarations"
%configure --disable-dependency-tracking --disable-static \ %configure --disable-dependency-tracking \
--disable-static \
--with-package-name="gst-libav 1.0 rpmfusion rpm" \ --with-package-name="gst-libav 1.0 rpmfusion rpm" \
--with-package-origin="http://rpmfusion.org/" \ --with-package-origin="http://rpmfusion.org/" \
--with-system-libav --with-system-libav
@ -73,6 +73,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgst*.la
%changelog %changelog
* Wed Nov 30 2016 leigh scott <leigh123linux@googlemail.com> - 1.10.2-1
- Update to 1.10.2
* Fri Nov 11 2016 Hans de Goede <j.w.r.degoede@gmail.com> - 1.10.0-2 * Fri Nov 11 2016 Hans de Goede <j.w.r.degoede@gmail.com> - 1.10.0-2
- Drop no longer needed ignore_vaapi.patch - Drop no longer needed ignore_vaapi.patch

@ -1 +1 @@
5a91cea1affe136298db4f6185f78f72 gst-libav-1.10.0.tar.xz 420d0a32f47ef02cc615f8cf6da1e94d gst-libav-1.10.2.tar.xz

Loading…
Cancel
Save