From 606eb615c7565940d98d062d5ab2b7067b29ba92 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 14 Jun 2024 16:59:41 +0200 Subject: [PATCH] Update to 1.22.12 --- .gitignore | 1 + gstreamer-inspect-rpm-format.patch | 51 ++++++++++++------------------ gstreamer1.spec | 7 ++-- sources | 2 +- 4 files changed, 28 insertions(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index eba0ac8..8ecff6b 100644 --- a/.gitignore +++ b/.gitignore @@ -93,3 +93,4 @@ /gstreamer-1.22.7.tar.xz /gstreamer-1.22.8.tar.xz /gstreamer-1.22.9.tar.xz +/gstreamer-1.22.12.tar.xz diff --git a/gstreamer-inspect-rpm-format.patch b/gstreamer-inspect-rpm-format.patch index 0114c06..d7a3fb7 100644 --- a/gstreamer-inspect-rpm-format.patch +++ b/gstreamer-inspect-rpm-format.patch @@ -1,26 +1,17 @@ -From 642d0d6fef226fb89eaecf0016f8e5e333b9023e Mon Sep 17 00:00:00 2001 +From 90d355aea6867f18c10431775f2d0cc52aa6c9d2 Mon Sep 17 00:00:00 2001 From: Wim Taymans -Date: Tue, 23 Jun 2015 10:28:29 +0200 +Date: Tue, 5 Mar 2024 10:05:36 +0100 Subject: [PATCH] gst-inspect: add mode to output RPM requires format --- - tools/gst-inspect.c | 279 +++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 263 insertions(+), 16 deletions(-) + subprojects/gstreamer/tools/gst-inspect.c | 277 ++++++++++++++++++++-- + 1 file changed, 262 insertions(+), 15 deletions(-) -diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c -index 8da042946..a057cba09 100644 ---- a/tools/gst-inspect.c -+++ b/tools/gst-inspect.c -@@ -394,7 +394,7 @@ print_object_properties_info (GObject * obj, GObjectClass * obj_class, - - first_flag = TRUE; - n_print ("%sflags%s: ", PROP_ATTR_NAME_COLOR, RESET_COLOR); -- readable = ! !(param->flags & G_PARAM_READABLE); -+ readable = !!(param->flags & G_PARAM_READABLE); - if (readable && obj != NULL) { - g_object_get_property (obj, param->name, &value); - } else { -@@ -1739,11 +1739,228 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names) +diff --git a/subprojects/gstreamer/tools/gst-inspect.c b/subprojects/gstreamer/tools/gst-inspect.c +index 10cba8ddb6..3cf75fe15e 100644 +--- a/subprojects/gstreamer/tools/gst-inspect.c ++++ b/subprojects/gstreamer/tools/gst-inspect.c +@@ -1904,11 +1904,228 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names) return 0; } @@ -250,7 +241,7 @@ index 8da042946..a057cba09 100644 { GstPadDirection direction; const gchar *type_name; -@@ -1769,6 +1986,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) +@@ -1934,6 +2151,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) return; } @@ -264,7 +255,7 @@ index 8da042946..a057cba09 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); -@@ -1805,15 +2029,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) +@@ -1970,15 +2194,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) gst_structure_remove_field (s, "rate"); gst_structure_remove_field (s, "depth"); gst_structure_remove_field (s, "clock-rate"); @@ -289,7 +280,7 @@ index 8da042946..a057cba09 100644 { const gchar *const *protocols; -@@ -1822,13 +2051,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) +@@ -1987,13 +2216,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) switch (gst_element_factory_get_uri_type (factory)) { case GST_URI_SINK: while (*protocols != NULL) { @@ -311,7 +302,7 @@ index 8da042946..a057cba09 100644 ++protocols; } break; -@@ -1839,7 +2074,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) +@@ -2004,7 +2239,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) } static void @@ -320,7 +311,7 @@ index 8da042946..a057cba09 100644 { GList *features, *l; -@@ -1858,11 +2093,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin) +@@ -2023,11 +2258,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin) if (feature_plugin == plugin) { GstElementFactory *factory; @@ -339,7 +330,7 @@ index 8da042946..a057cba09 100644 } if (feature_plugin) gst_object_unref (feature_plugin); -@@ -1884,7 +2123,7 @@ print_all_plugin_automatic_install_info (void) +@@ -2051,7 +2290,7 @@ print_all_plugin_automatic_install_info (void) plugin = (GstPlugin *) (plugins->data); plugins = g_list_next (plugins); @@ -348,15 +339,15 @@ index 8da042946..a057cba09 100644 } gst_plugin_list_free (orig_plugins); } -@@ -1951,6 +2190,7 @@ main (int argc, char *argv[]) +@@ -2137,6 +2376,7 @@ real_main (int argc, char *argv[]) gboolean do_print_blacklist = FALSE; gboolean plugin_name = FALSE; gboolean print_aii = FALSE; + gboolean print_aii_rpm = FALSE; gboolean uri_handlers = FALSE; gboolean check_exists = FALSE; - gboolean color_always = FALSE; -@@ -1972,6 +2212,9 @@ main (int argc, char *argv[]) + gboolean check_version = FALSE; +@@ -2159,6 +2399,9 @@ real_main (int argc, char *argv[]) "or all plugins provide.\n " "Useful in connection with external automatic plugin " "installation mechanisms"), NULL}, @@ -366,7 +357,7 @@ index 8da042946..a057cba09 100644 {"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name, N_("List the plugin contents"), NULL}, {"types", 't', 0, G_OPTION_ARG_STRING, &types, -@@ -2135,7 +2378,7 @@ main (int argc, char *argv[]) +@@ -2338,7 +2581,7 @@ real_main (int argc, char *argv[]) /* if there is such a plugin, print out info */ if (plugin) { if (print_aii) { @@ -375,7 +366,7 @@ index 8da042946..a057cba09 100644 } else { print_plugin_info (plugin); print_plugin_features (plugin); -@@ -2148,13 +2391,17 @@ main (int argc, char *argv[]) +@@ -2351,13 +2594,17 @@ real_main (int argc, char *argv[]) if (plugin) { if (print_aii) { @@ -396,5 +387,5 @@ index 8da042946..a057cba09 100644 exit_code = -1; goto done; -- -2.26.2 +2.45.2 diff --git a/gstreamer1.spec b/gstreamer1.spec index 96e625b..2e7aa12 100644 --- a/gstreamer1.spec +++ b/gstreamer1.spec @@ -16,7 +16,7 @@ %endif Name: gstreamer1 -Version: 1.22.9 +Version: 1.22.12 Release: 1%{?dist} Summary: GStreamer streaming media framework runtime @@ -87,7 +87,7 @@ GStreamer streaming media framework. %prep %setup -q -n gstreamer-%{version} -%patch -P 0 -p1 -b .rpm-provides +%patch -P 0 -p3 -b .rpm-provides %build %meson \ @@ -200,6 +200,9 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer %changelog +* Fri Jun 14 2024 Wim Taymans - 1.22.12-1 +- Update to 1.22.12 + * Thu Jan 25 2024 Gwyn Ciesla - 1.22.9-1 - 1.22.9 diff --git a/sources b/sources index 38331b9..a3aa3b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gstreamer-1.22.9.tar.xz) = 67b8a87ac6d3db2d696589779f2931f3e4e330f6aa40611a221b8d42df923fb15e839eb828314ac24a25e18fa3efc328c3fca6c732ae41d08f247aa454ef5abb +SHA512 (gstreamer-1.22.12.tar.xz) = 2443a337a97ac805267d683d049b5023281db54d0d9c561510cff478b0a13256078eb08b1dd89440d2348c84e6e64c8137ce8e6e7c131440a7bd3a8975ebe722