[gst-devel] plugin cannot be encapsulated in a bin
Benoit Fouet
benoit.fouet at purplelabs.com
Thu Feb 8 09:46:12 CET 2007
Diqing Zhong wrote:
> Hi all,
>
> I'm developed a deocder plugin, connect with other elements (demux,
> videosink... ) and it works well.
> But while I add this plugin into a bin and ghost its src and sink
> pads, link this bin as before, it does not work...
>
> e.g.,
> the pipes
> Pipe1: decoder->videosink
> and
> Pipe2: bin(containing decoder)->videosink
>
> should be equivalent.
>
> However the Pipe2 connection does not work.
>
> I debugged and found that in decoder element chain_function, the
> buffer received are all with 0 size. So is there anything I should do
> in the plugin to support this??
>
this is hard to see if we can be of help without seeing what you wrote
down in your app for instance...
could you please post the code in which you use a bin to encapsulate
your element ?
Ben
More information about the gstreamer-devel
mailing list