SOURCES: gstreamer-inspect-rpm-format.patch - updated for 0.10.22

megabajt megabajt at pld-linux.org
Wed Jan 21 22:32:50 CET 2009


Author: megabajt                     Date: Wed Jan 21 21:32:50 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 0.10.22

---- Files affected:
SOURCES:
   gstreamer-inspect-rpm-format.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/gstreamer-inspect-rpm-format.patch
diff -u SOURCES/gstreamer-inspect-rpm-format.patch:1.1 SOURCES/gstreamer-inspect-rpm-format.patch:1.2
--- SOURCES/gstreamer-inspect-rpm-format.patch:1.1	Sun Dec  7 15:36:49 2008
+++ SOURCES/gstreamer-inspect-rpm-format.patch	Wed Jan 21 22:32:44 2009
@@ -1,7 +1,6 @@
-diff -u -p -r1.142 tools/gst-inspect.c
---- tools/gst-inspect.c	31 Jul 2008 15:20:31 -0000	1.142
-+++ tools/gst-inspect.c	11 Sep 2008 23:47:16 -0000
-@@ -1188,9 +1188,219 @@ print_element_info (GstElementFactory * 
+--- a/tools/gst-inspect.c	17 Nov 2008 15:48:14 -0000	1.144
++++ b/tools/gst-inspect.c	20 Jan 2009 16:11:05 -0000
+@@ -1262,9 +1262,219 @@ print_element_info (GstElementFactory * 
    return 0;
  }
  
@@ -222,7 +221,7 @@
  {
    GstPadDirection direction;
    const gchar *type_name;
-@@ -1251,15 +1461,19 @@ print_plugin_automatic_install_info_code
+@@ -1325,15 +1535,19 @@ 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");
@@ -246,7 +245,7 @@
  {
    gchar **protocols, **p;
  
-@@ -1268,11 +1482,17 @@ print_plugin_automatic_install_info_prot
+@@ -1342,11 +1556,17 @@ print_plugin_automatic_install_info_prot
      switch (gst_element_factory_get_uri_type (factory)) {
        case GST_URI_SINK:
          for (p = protocols; *p != NULL; ++p)
@@ -266,7 +265,7 @@
          break;
        default:
          break;
-@@ -1282,7 +1502,7 @@ print_plugin_automatic_install_info_prot
+@@ -1356,7 +1576,7 @@ print_plugin_automatic_install_info_prot
  }
  
  static void
@@ -275,7 +274,7 @@
  {
    const gchar *plugin_name;
    GList *features, *l;
-@@ -1302,11 +1522,12 @@ print_plugin_automatic_install_info (Gst
+@@ -1376,11 +1596,12 @@ print_plugin_automatic_install_info (Gst
      if (g_str_equal (plugin_name, feature->plugin_name)) {
        GstElementFactory *factory;
  
@@ -291,25 +290,25 @@
      }
    }
  
-@@ -1319,6 +1540,7 @@ main (int argc, char *argv[])
- {
+@@ -1394,6 +1615,7 @@ main (int argc, char *argv[])
    gboolean print_all = FALSE;
+   gboolean plugin_name = FALSE;
    gboolean print_aii = FALSE;
 +  gboolean print_aii_rpm = FALSE;
+   gboolean uri_handlers = FALSE;
    GOptionEntry options[] = {
      {"print-all", 'a', 0, G_OPTION_ARG_NONE, &print_all,
-         N_("Print all elements"), NULL},
-@@ -1327,6 +1549,9 @@ main (int argc, char *argv[])
+@@ -1403,6 +1625,9 @@ main (int argc, char *argv[])
                "provides.\n                                       "
                "Useful in connection with external automatic plugin "
                "installation mechanisms"), NULL},
 +    {"rpm", '\0', 0, G_OPTION_ARG_NONE, &print_aii_rpm,
 +       N_("Print the machine-parsable list of features of a plugin in RPM "
 +       	  "Provides compatible-format"), NULL},
-     GST_TOOLS_GOPTION_VERSION,
-     {NULL}
-   };
-@@ -1384,7 +1609,7 @@ main (int argc, char *argv[])
+     {"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name,
+         N_("List the plugin contents"), NULL},
+     {"uri-handlers", 'u', 0, G_OPTION_ARG_NONE, &uri_handlers,
+@@ -1478,7 +1703,7 @@ main (int argc, char *argv[])
        /* if there is such a plugin, print out info */
        if (plugin) {
          if (print_aii) {
@@ -318,7 +317,7 @@
          } else {
            print_plugin_info (plugin);
            print_plugin_features (plugin);
-@@ -1397,13 +1622,16 @@ main (int argc, char *argv[])
+@@ -1491,13 +1716,16 @@ main (int argc, char *argv[])
  
            if (plugin) {
              if (print_aii) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/gstreamer-inspect-rpm-format.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list