[gst-devel] HELP: how to using c to implement this ?
Tim-Philipp Müller
t.i.m at zen.co.uk
Wed Nov 4 11:17:26 CET 2009
On Wed, 2009-11-04 at 18:02 +0800, Freeman Zhang wrote:
> decoder = gst_element_factory_make("alawdec", "decoder");
> res = gst_element_link_filtered (filesrc, decoder, caps);
> g_assert(res == TRUE);
>
> But it return:
> gst_element_link_pads_filtered: assertion
> `GST_IS_BIN (parent)' failed
You need to add elements to a pipeline/bin before linking them.
Cheers
-Tim
More information about the gstreamer-devel
mailing list