[gst-devel] "pads have wrong hierarchy"
Wim Taymans
wim at fluendo.com
Wed Jul 26 12:55:57 CEST 2006
On Wed, 2006-07-26 at 10:25 +0200, SP GLE wrote:
> Hello,
> I'm trying to connect two pipelines with a queue, the
> first one contains a bin for playing files, the second
> one contains a videomixer and a videosink.
> The link of the two pipelines throught the queue fails
> with the following trace :
>
> INFO (0x81b1d50 - 0:00:02.916064000)
> GST_PADS(14414) gstpad.c(1742):gst_pad_link_prepare:
> pads have wrong hierarchy
>
You should create a ghostpad on the two pipelines so that they look like
normal elements. You can then link them together. The reason is that a
pad from an element inside a bin is not visible outside of the bin and
you can thus not link it with elements outside of the bin. Ghosting the
pad will make it visible and linkable
Note that linking two pipelines is perfectly possible but might not be
what you want, you'll end up with 2 independent busses, 2 independent
clocks,... Putting 2 bins in one pipeline, as Edward suggested, might be
more what you want perhaps.
Wim
> How should i connect two independent pipelines ?
>
> Thanks.
>
>
>
>
>
>
> ___________________________________________________________________________
> Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
> Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
> http://fr.answers.yahoo.com
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Wim Taymans <wim at fluendo.com>
More information about the gstreamer-devel
mailing list