GNOME Bugzilla – Bug 514507
gst-xmlinspect outputs text instead of xml for plugins
Last modified: 2008-04-12 20:53:20 UTC
$ gst-xmlinspect-0.10 ffmpeg | head -2 <?xml version="1.0"?> Plugin Details: suggestion by MikeS: 12:03 < MikeS> the bug appears to be that there's no xml output for plugins (only for elements); gst-xmlinspect just outputs the text output (as for gst-inspect) when invoked on a plugin 12:03 < MikeS> The likely fix for this is to just not support xmlinspect of plugins at all 12:04 < zaheerm> i agree with mikes $ dpkg -l gstreamer0.10-tools gstreamer0.10-ffmpeg | grep ^.i ii gstreamer0.10-ffmpeg 0.10.3-4 FFmpeg plugin for GStreamer ii gstreamer0.10-tools 0.10.17-1 Tools for use with GStreamer
We still ship gst-xmlinspect? :)
Fixed in CVS: 2008-04-12 Tim-Philipp Müller <tim at centricular dot net> * tools/gst-xmlinspect.c: (print_element_info), (main): De-cruft a bit. If no argument is specified, print all elements in XML syntax rather than a freestyle list of elements like gst-inspect. Also, don't print XML header chunk unless we actually have something to print (ie. don't print it before an error message); print error message to stderr not stdout. Remove support for printing plugin info (it would just output something freestyle along the lines of gst-inspect so far), which fixes #514507. Also add license header.