[PATCH 0/7] Add introspection utility to Grilo
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: [PATCH 0/7] Add introspection utility to Grilo
- Date: Wed, 14 Jul 2010 10:41:04 +0200
Hello all!
This set of patches adds a new command line utility to Grilo: introspecting
sources.
Roughly speaking, it provides the same functionality as gst-inspect from
GStreamer.
With no parameters, it shows the list of available sources.
User can specify also a list of sources, and it will show all information about
those sources: details, supported operations and keys, etc.
There are a lot of reasons why this utility can be helpful:
a) User can get information from a source without needing to go to
documentation.
b) Code itself can be used as a reference to know how to get information from a
source.
c) Explore new issues and lacks in Grilo (most important one right now).
d) It's cool ;).
Regarding (b), I would like to add that advanced mediaplayers have the
capability to show information about plugins they use, and even exploit this
knowledge to provider custom features or efficient implementations.
Regarding (c), there are some issues about Grilo I found that should be
improved and/or fixed. As example, while plugins allows to define custom
properties in the details (url, site, author, ...), there is no way of getting
those custom properties. A function will be required.
Hope this utility is useful. As usual, I won't push it for next 2 days, waiting
for your (positive ;)) comments.
J.A.
Juan A. Suarez Romero (7):
grl-inspect: Add grl-inspect utility
core: Add library filename to plugin's information
grl-inspect: Add delay when listing sources
grl-inspect: Show information about a set of plugins
grl-inspect: Show the type of plugin
grl-inspect: Show supported operations
grl-inspect: Show supported keys
configure.ac | 1 +
src/grl-media-plugin.c | 19 ++++
src/grl-media-plugin.h | 8 +-
src/grl-plugin-registry.c | 2 +
src/grl-plugin-registry.h | 4 +-
tools/Makefile.am | 4 +-
tools/grilo-inspect/Makefile.am | 30 ++++++
tools/grilo-inspect/grl-inspect.c | 206 +++++++++++++++++++++++++++++++++++++
8 files changed, 269 insertions(+), 5 deletions(-)
create mode 100644 tools/grilo-inspect/Makefile.am
create mode 100644 tools/grilo-inspect/grl-inspect.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]