diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-15 18:43:39 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-09-15 19:09:08 +0200 |
commit | 2834dd05189fa7248bfaf113e31ed64436410197 (patch) | |
tree | de77c532f26b261ec5888e825c35031749131450 /tools | |
parent | 3cf8b945ca5808705a113d0279e67fed41e632ef (diff) |
use gst_element_factory_get_metadata to replace obsolete API
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gst-inspect.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index a8fc207e9..23b7c440a 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -1012,7 +1012,8 @@ print_element_list (gboolean print_all) else g_print ("%s: %s: %s\n", gst_plugin_get_name (plugin), GST_OBJECT_NAME (factory), - gst_element_factory_get_longname (factory)); + gst_element_factory_get_metadata (factory, + GST_ELEMENT_METADATA_LONGNAME)); #if 0 } else if (GST_IS_INDEX_FACTORY (feature)) { GstIndexFactory *factory; @@ -1213,7 +1214,8 @@ print_plugin_features (GstPlugin * plugin) factory = GST_ELEMENT_FACTORY (feature); n_print (" %s: %s\n", GST_OBJECT_NAME (factory), - gst_element_factory_get_longname (factory)); + gst_element_factory_get_metadata (factory, + GST_ELEMENT_METADATA_LONGNAME)); num_elements++; #if 0 } else if (GST_IS_INDEX_FACTORY (feature)) { @@ -1361,7 +1363,8 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) GstCaps *caps = NULL; guint i, num; - klass = gst_element_factory_get_klass (factory); + klass = + gst_element_factory_get_metadata (factory, GST_ELEMENT_METADATA_KLASS); g_return_if_fail (klass != NULL); if (strstr (klass, "Demuxer") || |