tools/gst-xmlinspect.c: De-cruft a bit. If no argument is specified, print all elemen...
authorTim-Philipp Müller <tim@centricular.net>
Sat, 12 Apr 2008 20:52:58 +0000 (20:52 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 12 Apr 2008 20:52:58 +0000 (20:52 +0000)
commit551f7fab42b809c0d679978e55946361f35a9836
tree1f242f9acb143f05498d8b727b49b3e341f2f587
parent224b878ff77002663fb2a2dd3051bfad73924507
tools/gst-xmlinspect.c: De-cruft a bit. If no argument is specified, print all elements in

Original commit message from CVS:
* 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.
ChangeLog
tools/gst-xmlinspect.c