-diff -urp gstreamer-0.11.94.orig/tools/gst-inspect.c gstreamer-0.11.94/tools/gst-inspect.c
---- gstreamer-0.11.94.orig/tools/gst-inspect.c 2012-09-01 18:02:10.000000000 -0400
-+++ gstreamer-0.11.94/tools/gst-inspect.c 2012-09-14 08:04:52.690369047 -0400
-@@ -1350,8 +1350,225 @@ print_element_info (GstElementFactory *
+--- gstreamer-1.16.0/tools/gst-inspect.c.orig 2019-04-12 00:58:09.000000000 +0200
++++ gstreamer-1.16.0/tools/gst-inspect.c 2019-05-20 09:39:11.295876148 +0200
+@@ -1726,11 +1726,228 @@ print_tracer_info (GstPluginFeature * fe
return 0;
}
+ g_list_free (strings);
+}
+
+ /* NOTE: Not coloring output from automatic install functions, as their output
+ * is meant for machines, not humans.
+ */
static void
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
+print_plugin_automatic_install_info_codecs (GstElementFactory * factory,
{
GstPadDirection direction;
const gchar *type_name;
-@@ -1377,6 +1593,12 @@ print_plugin_automatic_install_info_code
+@@ -1756,6 +1973,12 @@ print_plugin_automatic_install_info_code
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);
-@@ -1413,15 +1635,20 @@ print_plugin_automatic_install_info_code
+@@ -1792,15 +2015,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");
{
const gchar *const *protocols;
-@@ -1430,13 +1657,19 @@ print_plugin_automatic_install_info_prot
+@@ -1809,13 +2037,19 @@ print_plugin_automatic_install_info_prot
switch (gst_element_factory_get_uri_type (factory)) {
case GST_URI_SINK:
while (*protocols != NULL) {
++protocols;
}
break;
-@@ -1447,7 +1680,7 @@ print_plugin_automatic_install_info_prot
+@@ -1826,7 +2060,7 @@ print_plugin_automatic_install_info_prot
}
static void
{
GList *features, *l;
-@@ -1466,11 +1699,15 @@ print_plugin_automatic_install_info (Gst
+@@ -1845,11 +2079,15 @@ print_plugin_automatic_install_info (Gst
if (feature_plugin == plugin) {
GstElementFactory *factory;
}
if (feature_plugin)
gst_object_unref (feature_plugin);
-@@ -1492,7 +1729,7 @@ print_all_plugin_automatic_install_info
+@@ -1871,7 +2109,7 @@ print_all_plugin_automatic_install_info
plugin = (GstPlugin *) (plugins->data);
plugins = g_list_next (plugins);
}
gst_plugin_list_free (orig_plugins);
}
-@@ -1504,6 +1741,7 @@ main (int argc, char *argv[])
+@@ -1938,6 +2176,7 @@ main (int argc, char *argv[])
gboolean do_print_blacklist = FALSE;
gboolean plugin_name = FALSE;
gboolean print_aii = FALSE;
gboolean uri_handlers = FALSE;
gboolean check_exists = FALSE;
gchar *min_version = NULL;
-@@ -1521,6 +1759,9 @@ main (int argc, char *argv[])
+@@ -1958,6 +2197,9 @@ main (int argc, char *argv[])
"or all plugins provide.\n "
"Useful in connection with external automatic plugin "
"installation mechanisms"), NULL},
+ "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,
-@@ -1650,7 +1891,7 @@ main (int argc, char *argv[])
+ {"types", 't', 0, G_OPTION_ARG_STRING, &types,
+@@ -2113,7 +2355,7 @@ main (int argc, char *argv[])
/* if there is such a plugin, print out info */
if (plugin) {
if (print_aii) {
} else {
print_plugin_info (plugin);
print_plugin_features (plugin);
-@@ -1663,13 +1904,17 @@ main (int argc, char *argv[])
+@@ -2126,13 +2368,17 @@ main (int argc, char *argv[])
if (plugin) {
if (print_aii) {
+ g_printerr (_("Could not load plugin file: %s\n"),
+ error->message);
g_clear_error (&error);
- return -1;
- }
+ exit_code = -1;
+ goto done;
Summary: GStreamer Streaming-media framework runtime
Summary(pl.UTF-8): GStreamer - biblioteki środowiska do obróbki strumieni
Name: gstreamer
-Version: 1.14.4
-Release: 3
+Version: 1.16.0
+Release: 1
License: LGPL v2+
Group: Libraries
Source0: https://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
-# Source0-md5: f67fbbc42bd85a0701df119f52fb52bd
+# Source0-md5: 862b7e4263d946bc2ef31b3c582e5587
Patch0: %{name}-inspect-rpm-format.patch
URL: https://gstreamer.freedesktop.org/
BuildRequires: autoconf >= 2.69
%description apidocs -l pl.UTF-8
Dokumentacja API Gstreamera.
+%package gdb
+Summary: GStreamer pretty printers for GDB
+Summary(pl.UTF-8): Funkcje wypisujące dane GStreamer dla GDB
+Group: Development/Debuggers
+
+%description gdb
+This package contains Python scripts for GDB pretty printing of the
+GStreamer types.
+
+%description gdb -l pl.UTF-8
+Ten pakiet zawiera skrypty Pythona dla GDB służące do ładnego
+wypisywania typów GStreamer.
+
%package -n bash-completion-gstreamer
Summary: Bash completion for GStreamer utilities
Summary(pl.UTF-8): Bashowe uzupełnianie parametrów narzędzi GStreamera
# obsoleted by pkg-config
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgst*.la
+%py_comp $RPM_BUILD_ROOT%{_datadir}/gstreamer-1.0/gdb/
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/gstreamer-1.0/gdb/
+%py_postclean %{_datadir}/gstreamer-1.0/gdb/
+
%clean
rm -rf $RPM_BUILD_ROOT
%{_gtkdocdir}/gstreamer-libs-%{vmajor}
%{_gtkdocdir}/gstreamer-plugins-%{vmajor}
+%files gdb
+%defattr(644,root,root,755)
+%{_datadir}/gdb/auto-load%{_libdir}/libgstreamer-%{vmajor}.so.*.*.*-gdb.py
+%{_datadir}/gstreamer-1.0/gdb
+
%files -n bash-completion-gstreamer
%defattr(644,root,root,755)
%{bash_compdir}/gst-inspect-1.0