From bfb11dad0f75afbcdcbdc4b7187984187daf61b8 Mon Sep 17 00:00:00 2001 From: tremod Date: Tue, 27 Jun 2017 15:17:11 +0200 Subject: [PATCH] Update to 1.12.1 --- .abf.yml | 2 +- gstreamer-inspect-rpm-format.patch | 25 +++++++++++++------------ gstreamer1.0.spec | 8 ++++---- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.abf.yml b/.abf.yml index 79de9b8..36549a6 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - gstreamer-1.10.3.tar.xz: 15f0f75739fdf690ddde52d69745c4866185d7e2 + gstreamer-1.12.1.tar.xz: 0b31d1776db779e4c9eea05233a722e3d2295d4e diff --git a/gstreamer-inspect-rpm-format.patch b/gstreamer-inspect-rpm-format.patch index cece992..57bf010 100644 --- a/gstreamer-inspect-rpm-format.patch +++ b/gstreamer-inspect-rpm-format.patch @@ -1,7 +1,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst-inspect.c --- gstreamer-1.8.3/tools/gst-inspect.c 2016-03-24 21:36:30.000000000 +1000 +++ gstreamer-1.8.3-patched/tools/gst-inspect.c 2016-09-30 13:14:34.765969760 +1000 -@@ -1302,9 +1302,225 @@ +@@ -1335,9 +1335,225 @@ return 0; } @@ -228,7 +228,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- { GstPadDirection direction; const gchar *type_name; -@@ -1330,6 +1546,12 @@ +@@ -1363,6 +1579,13 @@ return; } @@ -237,11 +237,12 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- + if ((gst_plugin_feature_get_rank (GST_PLUGIN_FEATURE (factory))) == GST_RANK_NONE) + return; + } ++ + /* 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); -@@ -1366,15 +1588,20 @@ +@@ -1399,15 +1622,20 @@ gst_structure_remove_field (s, "rate"); gst_structure_remove_field (s, "depth"); gst_structure_remove_field (s, "clock-rate"); @@ -266,7 +267,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- { const gchar *const *protocols; -@@ -1383,13 +1610,19 @@ +@@ -1416,13 +1644,19 @@ switch (gst_element_factory_get_uri_type (factory)) { case GST_URI_SINK: while (*protocols != NULL) { @@ -288,7 +289,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- ++protocols; } break; -@@ -1400,7 +1633,7 @@ +@@ -1433,7 +1667,7 @@ } static void @@ -297,7 +298,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- { GList *features, *l; -@@ -1419,11 +1652,15 @@ +@@ -1452,11 +1686,15 @@ if (feature_plugin == plugin) { GstElementFactory *factory; @@ -316,7 +317,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- } if (feature_plugin) gst_object_unref (feature_plugin); -@@ -1445,7 +1682,7 @@ +@@ -1478,7 +1716,7 @@ plugin = (GstPlugin *) (plugins->data); plugins = g_list_next (plugins); @@ -325,7 +326,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- } gst_plugin_list_free (orig_plugins); } -@@ -1457,6 +1694,7 @@ +@@ -1490,6 +1728,7 @@ gboolean do_print_blacklist = FALSE; gboolean plugin_name = FALSE; gboolean print_aii = FALSE; @@ -333,7 +334,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- gboolean uri_handlers = FALSE; gboolean check_exists = FALSE; gchar *min_version = NULL; -@@ -1474,6 +1712,9 @@ +@@ -1508,6 +1747,9 @@ "or all plugins provide.\n " "Useful in connection with external automatic plugin " "installation mechanisms"), NULL}, @@ -342,8 +343,8 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- + "Provides compatible-format"), NULL}, {"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name, N_("List the plugin contents"), NULL}, - {"exists", '\0', 0, G_OPTION_ARG_NONE, &check_exists, -@@ -1610,7 +1851,7 @@ + {"types", 't', 0, G_OPTION_ARG_STRING, &types, +@@ -1650,7 +1892,7 @@ /* if there is such a plugin, print out info */ if (plugin) { if (print_aii) { @@ -352,7 +353,7 @@ diff -urN gstreamer-1.8.3/tools/gst-inspect.c gstreamer-1.8.3-patched/tools/gst- } else { print_plugin_info (plugin); print_plugin_features (plugin); -@@ -1623,13 +1864,16 @@ +@@ -1663,13 +1905,16 @@ if (plugin) { if (print_aii) { diff --git a/gstreamer1.0.spec b/gstreamer1.0.spec index f6470b4..edfc74b 100644 --- a/gstreamer1.0.spec +++ b/gstreamer1.0.spec @@ -12,8 +12,8 @@ Summary: GStreamer Streaming-media framework runtime Name: %{oname}%{api} -Version: 1.10.3 -Release: 2 +Version: 1.12.1 +Release: 1 License: LGPLv2+ Group: Sound Url: http://gstreamer.freedesktop.org/ @@ -81,12 +81,12 @@ plugins. %{_mandir}/man1/gst-inspect-%{api}.1* %{_mandir}/man1/gst-launch-%{api}.1* %{_mandir}/man1/gst-typefind-%{api}.1* +%{_mandir}/man1/gst-stats-%{api}.1* %{_datadir}/bash-completion/completions/gst-inspect-1.0 %{_datadir}/bash-completion/completions/gst-launch-1.0 %{_datadir}/bash-completion/helpers/gst -%{_datadir}/bash-completion/helpers/gst-completion-helper-1.0 %{_libdir}/gstreamer-1.0/gst-ptp-helper - +%{_libdir}/gstreamer-1.0/gst-completion-helper #---------------------------------------------------------------------------- %package -n %{libname}