tools/gst-inspect.c: Don't require decoder/demuxer/depayloader elements or encoder...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 14 Mar 2007 17:24:18 +0000 (17:24 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 14 Mar 2007 17:24:18 +0000 (17:24 +0000)
Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs):
Don't require decoder/demuxer/depayloader elements or
encoder/muxer/paylader elements to have 'Codec' as part of their
factory class string when introspecting a plugin's capabilities.
draft-klass.txt mentions that it might be removed in future, and
flump3dec doesn't have it as part of its class string, so chances
are others might also not have it.

ChangeLog
tools/gst-inspect.c

index 0bfaaba..fb17ea1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * tools/gst-inspect.c:
+       (print_plugin_automatic_install_info_codecs):
+         Don't require decoder/demuxer/depayloader elements or
+         encoder/muxer/paylader elements to have 'Codec' as part of their
+         factory class string when introspecting a plugin's capabilities.
+         draft-klass.txt mentions that it might be removed in future, and
+         flump3dec doesn't have it as part of its class string, so chances
+         are others might also not have it.
+
 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * po/af.po:
index 6af9d8e..133ad18 100644 (file)
@@ -1118,9 +1118,6 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
   klass = gst_element_factory_get_klass (factory);
   g_return_if_fail (klass != NULL);
 
-  if (strstr (klass, "Codec/") == NULL)
-    return;
-
   if (strstr (klass, "Demuxer") ||
       strstr (klass, "Decoder") ||
       strstr (klass, "Depay") || strstr (klass, "Parser")) {