gstreamer: tests: add test to create a factory

Sebastian Dröge sebastian.droege at collabora.co.uk
Tue Mar 8 02:43:03 PST 2011


On Tue, 2011-03-08 at 02:33 -0800, Stefan Kost wrote:
> Module: gstreamer
> Branch: master
> Commit: 7c98ae2b98c75d2eb27829e75a65aa8913e6777d
> URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=7c98ae2b98c75d2eb27829e75a65aa8913e6777d
> 
> Author: Stefan Kost <ensonic at users.sf.net>
> Date:   Tue Mar  8 11:55:29 2011 +0200
> 
> tests: add test to create a factory

What exactly is the reason for this test? Wouldn't it be better to
create a small GstElement subclass with pad templates and everything,
register it and check the created element factory?

Your test here is manually filling an element factory, which will always
succeed unless GLib/GObject is broken ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110308/88ebbdb2/attachment.pgp>


More information about the gstreamer-devel mailing list