From 4b70d9f18753909c84ce6f3c0af04d369780010a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 14 Mar 2007 17:24:18 +0000 Subject: [PATCH] tools/gst-inspect.c: Don't require decoder/demuxer/depayloader elements or encoder/muxer/paylader elements to have 'C... 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 | 11 +++++++++++ tools/gst-inspect.c | 3 --- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0bfaaba..fb17ea1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2007-03-14 Tim-Philipp Müller + + * 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 * po/af.po: diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 6af9d8e..133ad18 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -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")) { -- 2.7.4