Test machines

From Buzztard

Jump to: navigation, search

It sounds like a good idea to have some gst-elements alongs with the test, that we can use for the tests. The problem is that there are currently no gsteamer elements that support all features we use. One has to install the gstbml module and some buzz-machines for it.

Having a source and a processor machine should do as the sink is not too specific.

We need to find out how to write local machines (uninstalled ones). As they are normal GObject classes, it probably just means subclassing GstElement and leaving the plugin stuff out. That probably means we don't instantiate through the plugin factory.

Unfortunately we can't have an own factory in the test, as the machine classes always use the registry.

Lets look at the API, what we might need:

GST_PLUGIN_DEFINE_STATIC(...);

have a plugin_init() in there which intur calls:

gst_element_register(plugin,"buzztard-test-source",GST_RANK_NONE,BT_TEST_SOURCE);
gst_element_register(plugin,"buzztard-test-processor",GST_RANK_NONE,BT_TEST_PROCESSOR);
Personal tools
collaboration

SourceForge Logo

GStreamer Logo

Linux Sound Logo

MediaWiki

Valgrind

GNU Library Public Licence

GNU Free Documentation License 1.2