Accepting request 611156 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/611156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gstreamer?expand=0&rev=53
This commit is contained in:
Dominique Leuenberger 2018-05-29 08:26:39 +00:00 committed by Git OBS Bridge
commit 686a62a7b6
5 changed files with 165 additions and 44 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f750d845a326880b24c1ccc913d07df8f38cd9e63009714795ae175b6c29c6a
size 3160248

3
gstreamer-1.14.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28d82b0d261544a9bf85b429399929e4986eb00efcf1ce16cc71d269a4c3186c
size 3252440

View File

@ -1,21 +1,12 @@
From b00e7fff5190e424a03d3827312f63028b684faf Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Mon, 4 Jan 2016 11:39:33 +0100
Subject: [PATCH] inspect: Add RPM output format
---
tools/gst-inspect.c | 276 +++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 261 insertions(+), 15 deletions(-)
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
index e420e4c..1096e8c 100644
Index: b/tools/gst-inspect.c
===================================================================
--- a/tools/gst-inspect.c
+++ b/tools/gst-inspect.c
@@ -1335,9 +1335,225 @@ print_element_info (GstElementFactory * factory, gboolean print_names)
return 0;
@@ -1524,7 +1524,224 @@ print_tracer_info (GstPluginFeature * fe
}
+static void
static void
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
+print_gst_structure_append_field (GList * strings, const char *field)
+{
+ GList *s;
@ -26,9 +17,8 @@ index e420e4c..1096e8c 100644
+ g_string_append (s->data, field);
+ }
+}
static void
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
+
+static void
+print_gst_structure_append_field_index (GList * strings, const char *field,
+ guint num_items, guint offset)
+{
@ -238,7 +228,7 @@ index e420e4c..1096e8c 100644
{
GstPadDirection direction;
const gchar *type_name;
@@ -1363,6 +1579,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
@@ -1550,6 +1767,13 @@ print_plugin_automatic_install_info_code
return;
}
@ -252,7 +242,7 @@ index e420e4c..1096e8c 100644
/* decoder/demuxer sink pads should always be static and there should only
* be one, the same applies to encoders/muxers and source pads */
static_templates = gst_element_factory_get_static_pad_templates (factory);
@@ -1399,15 +1622,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
@@ -1586,15 +1810,20 @@ print_plugin_automatic_install_info_code
gst_structure_remove_field (s, "rate");
gst_structure_remove_field (s, "depth");
gst_structure_remove_field (s, "clock-rate");
@ -277,7 +267,7 @@ index e420e4c..1096e8c 100644
{
const gchar *const *protocols;
@@ -1416,13 +1644,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
@@ -1603,13 +1832,19 @@ print_plugin_automatic_install_info_prot
switch (gst_element_factory_get_uri_type (factory)) {
case GST_URI_SINK:
while (*protocols != NULL) {
@ -299,7 +289,7 @@ index e420e4c..1096e8c 100644
++protocols;
}
break;
@@ -1433,7 +1667,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
@@ -1620,7 +1855,7 @@ print_plugin_automatic_install_info_prot
}
static void
@ -308,7 +298,7 @@ index e420e4c..1096e8c 100644
{
GList *features, *l;
@@ -1452,11 +1686,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin)
@@ -1639,11 +1874,15 @@ print_plugin_automatic_install_info (Gst
if (feature_plugin == plugin) {
GstElementFactory *factory;
@ -327,7 +317,7 @@ index e420e4c..1096e8c 100644
}
if (feature_plugin)
gst_object_unref (feature_plugin);
@@ -1478,7 +1716,7 @@ print_all_plugin_automatic_install_info (void)
@@ -1665,7 +1904,7 @@ print_all_plugin_automatic_install_info
plugin = (GstPlugin *) (plugins->data);
plugins = g_list_next (plugins);
@ -336,7 +326,7 @@ index e420e4c..1096e8c 100644
}
gst_plugin_list_free (orig_plugins);
}
@@ -1490,6 +1728,7 @@ main (int argc, char *argv[])
@@ -1677,6 +1916,7 @@ main (int argc, char *argv[])
gboolean do_print_blacklist = FALSE;
gboolean plugin_name = FALSE;
gboolean print_aii = FALSE;
@ -344,7 +334,7 @@ index e420e4c..1096e8c 100644
gboolean uri_handlers = FALSE;
gboolean check_exists = FALSE;
gchar *min_version = NULL;
@@ -1508,6 +1747,9 @@ main (int argc, char *argv[])
@@ -1695,6 +1935,9 @@ main (int argc, char *argv[])
"or all plugins provide.\n "
"Useful in connection with external automatic plugin "
"installation mechanisms"), NULL},
@ -354,7 +344,7 @@ index e420e4c..1096e8c 100644
{"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name,
N_("List the plugin contents"), NULL},
{"types", 't', 0, G_OPTION_ARG_STRING, &types,
@@ -1650,7 +1892,7 @@ main (int argc, char *argv[])
@@ -1825,7 +2068,7 @@ main (int argc, char *argv[])
/* if there is such a plugin, print out info */
if (plugin) {
if (print_aii) {
@ -363,7 +353,7 @@ index e420e4c..1096e8c 100644
} else {
print_plugin_info (plugin);
print_plugin_features (plugin);
@@ -1663,13 +1905,17 @@ main (int argc, char *argv[])
@@ -1838,13 +2081,17 @@ main (int argc, char *argv[])
if (plugin) {
if (print_aii) {
@ -383,6 +373,3 @@ index e420e4c..1096e8c 100644
g_clear_error (&error);
return -1;
}
--
2.9.3

View File

@ -1,9 +1,139 @@
-------------------------------------------------------------------
Sun May 20 08:35:04 UTC 2018 - bjorn.lie@gmail.com
- Update to version 1.14.1:
+ GstPad: Fix race condition causing the same probe to be called
multiple times
+ Fix occasional deadlocks on windows when outputting debug
logging
+ Fix debug levels being applied in the wrong order
+ GIR annotation fixes for bindings
+ audiomixer, audioaggregator: fix some negotiation issues
+ gst-play-1.0: fix leaving stdin in non-blocking mode after exit
+ flvmux: wait for caps on all input pads before writing header
even if source is live
+ flvmux: don't wake up the muxer unless there is data, fixes
busy looping if there's no input data
+ flvmux: fix major leak of input buffers
+ rtspsrc, rtsp-server: revert to RTSP RFC handling of
sendonly/recvonly attributes
+ rtpvrawpay: fix payloading with very large mtu sizes where
everything fits into a single RTP packet
+ v4l2: Fix hard-coded enabled v4l2 probe on Linux/ARM
+ v4l2: Disable DMABuf for emulated formats when using libv4l2
+ v4l2: Always set colorimetry in S_FMT
+ asfdemux: Set stream-format field for H264 streams and handle
H.264 in bytestream format
+ x265enc: Fix tagging of keyframes on output buffers
+ ladspa: Fix critical during plugin load on Windows
+ decklink: Fix COM initialisation on Windows
+ h264parse: fix re-use across pipeline stop/restart
+ mpegtsmux: fix force-keyframe event handling and PCR/PMT
changes that would confuse some players with generated HLS
streams
+ adaptivedemux: Support period change in live playlist
+ rfbsrc: Fix support for applevncserver and support NULL pool in
decide_allocation
+ jpegparse: Fix APP1 marker segment parsing
+ h265parse: Make caps writable before modifying them, fixes
criticals
+ fakevideosink: request an extra buffer if enable-last-sample is
enabled
+ wasapisrc: Don't provide a clock based on WASAPI's clock
+ wasapi: Only use audioclient3 when low-latency, as it might
otherwise glitch with slow CPUs or VMs
+ wasapi: Don't derive device period from latency time, should
make it more robust against glitches
+ audiolatency: Fix wave detection in buffers and avoid bogus pts
values while starting
+ msdk: fix plugin load on implementations with only HW support
+ msdk: dec: set framerate to the driver only if provided, not in
0/1 case
+ msdk: Don't set extended coding options for JPEG encode
+ rtponviftimestamp: fix state change function init/reset causing
races/crashes on shutdown
+ decklink: fix initialization failure in windows binary
+ ladspa: Fix critical warnings during plugin load on Windows and
fix dependencies in meson build
+ gl: fix cross-compilation error with viv-fb
+ qmlglsink: make work with eglfs_kms
+ rtspclientsink: Don't deadlock in preroll on early close
+ rtspclientsink: Fix client ports for the RTCP backchannel
+ rtsp-server: Fix session timeout when streaming data to client
over TCP
+ vaapiencode: h264: find best profile in those available, fixing
negotiation errors
+ vaapi: remove custom GstGL context handling, use GstGL instead.
Fixes GL Context sharing with WebkitGtk on wayland
+ gst-editing-services: various fixes
+ gst-python: bump pygobject req to 3.8;
fix GstPad.set_query_function(); dist autogen.sh and
configure.ac in tarball
+ g-i: pick up GstVideo-1.0.gir from local build directory in
GstGL build
+ g-i: update constant values for bindings
+ avoid duplicate symbols in plugins across modules in static
builds
+ ... and many, many more!
-------------------------------------------------------------------
Mon Apr 23 12:42:34 UTC 2018 - dimstar@opensuse.org
- Rename gst-plugin-scanner to gst-plugin-scanner-%{arch}, allowing
multiple variants to co-exist (boo#1049452).
-------------------------------------------------------------------
Fri Mar 30 00:23:27 UTC 2018 - luc14n0@linuxmail.org
- Update to version 1.14.0:
+ Highlights:
- WebRTC support: real-time audio/video streaming to and from
web browsers;
- Experimental support for the next-gen royalty-free AV1 video
codec;
- Video4Linux: encoding support, stable element names and
faster device probing;
- Support for the Secure Reliable Transport (SRT) video
streaming protocol;
- RTP Forward Error Correction (FEC) support (ULPFEC);
- RTSP 2.0 support in rtspsrc and gst-rtsp-server;
- ONVIF audio backchannel support in gst-rtsp-server and
rtspsrc;
- playbin3 gapless playback and pre-buffering support;
- Tee, our stream splitter/duplication element, now does
allocation query aggregation which is important for efficient
data handling and zero-copy;
- QuickTime muxer has a new prefill recording mode that allows
file import in Adobe Premiere and FinalCut Pro while the file
is still being written;
- rtpjitterbuffer fast-start mode and timestamp offset
adjustment smoothing;
- souphttpsrc connection sharing, which allows for connection
reuse, cookie sharing, etc;
- nvdec: new plugin for hardware-accelerated video decoding
using the NVIDIA NVDEC API;
- Adaptive DASH trick play support;
- ipcpipeline: new plugin that allows splitting a pipeline
across multiple processes;
- Major gobject-introspection annotation improvements for large
parts of the library API;
- GStreamer C# bindings have been revived and seen many updates
and fixes;
- The externally maintained GStreamer Rust bindings had many
usability improvements and cover most of the API now.
Coinciding with the 1.14 release, a new release with the 1.14
API additions is happening.
+ Updated translations.
- Add:
+ gio-2.0, gio-unix-2.0, gmodule-2.0 and gobject-2.0 pkgconfig
modules BuildRequires to avoid implicit dependencies.
+ libcap-progs BuildRequires: new dependency.
- Drop libxml2-devel BuildRequires: it has been dropped upstream,
and now so do we.
- Point fdupes to the data directory instead of the build root,
which is a practice that must be avoided.
- Rebase gstreamer-rpm-prov.patch.
-------------------------------------------------------------------
Thu Mar 29 11:58:37 UTC 2018 - bjorn.lie@gmail.com

View File

@ -16,37 +16,40 @@
#
%define _name gstreamer
%define gst_branch 1.0
Name: gstreamer
Version: 1.12.5
Version: 1.14.1
Release: 0
Summary: Streaming-Media Framework Runtime
License: LGPL-2.1-or-later
Group: Productivity/Multimedia/Other
URL: http://gstreamer.freedesktop.org/
Source0: https://gstreamer.freedesktop.org/src/gstreamer/%{_name}-%{version}.tar.xz
Source0: https://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
Source1: gstreamer.macros
Source2: gstreamer.prov
Source99: baselibs.conf
# PATCH-FEATURE-UPSTREAM gstreamer-rpm-prov.patch bgo#588783 dimstar@opensuse.org -- Add --rpm parameter to allow creation of rpm provides, patch from fedora
Patch1: gstreamer-rpm-prov.patch
BuildRequires: bison
BuildRequires: bison >= 2.4
BuildRequires: check-devel
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: flex >= 2.5.31
BuildRequires: gnome-patch-translation
BuildRequires: gobject-introspection-devel >= 1.31.1
BuildRequires: gtk-doc >= 1.12
BuildRequires: libcap-devel
BuildRequires: libcap-progs
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(bash-completion) >= 2.0
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(libunwind)
# Ensure that the documentation corresponds with the installed version:
Requires: libgstreamer-1_0-0 = %{version}
@ -141,11 +144,12 @@ to develop applications that require these.
%setup -q -n gstreamer-%{version}
translation-update-upstream po gstreamer-%{gst_branch}
gnome-patch-translation-prepare po gstreamer-%{gst_branch}
# The order matters. Only run gnome-patch-translation-update after patching!
%patch1 -p1
gnome-patch-translation-update po gstreamer-%{gst_branch}
%build
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIE"
export CFLAGS="%{optflags} -fPIE"
export LDFLAGS="-pie"
export PYTHON=%{_bindir}/python3
%configure \
@ -170,7 +174,7 @@ mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
# Install the rpm macros
install -m644 -D %{SOURCE1} %{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr
install -m755 -D %{SOURCE2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides
%fdupes %{buildroot}
%fdupes %{buildroot}%{_datadir}/gtk-doc
%verifyscript
%verify_permissions -e %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
@ -195,8 +199,6 @@ install -m755 -D %{SOURCE2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides
%{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/helpers/
%files lang -f %{name}-%{gst_branch}.lang
%files -n libgstreamer-1_0-0
%{_libdir}/*.so.*
@ -224,4 +226,6 @@ install -m755 -D %{SOURCE2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides
%doc AUTHORS ChangeLog NEWS README RELEASE
%{_datadir}/gtk-doc/html/*
%files lang -f %{name}-%{gst_branch}.lang
%changelog