<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<P class=MsoNormal style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><SPAN class=squiggly><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">Hi</SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">I <SPAN class=squiggly>was</SPAN> <SPAN class=squiggly>trying</SPAN> <SPAN class=squiggly>all</SPAN> is in document and few more ideas but I look that it can't unlink the elements, this is an example of mi code:<o:p></o:p></SPAN></P>
<P class=MsoNormal style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">In the callback when the pad is already blocked I have:</SPAN><o:p></o:p></P>
<P class=MsoNormal style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="BACKGROUND: white; MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">padsrc = gst_element_get_pad (source, "src");<BR>padsink = gst_element_get_pad (sink, "sink");<BR>g_assert (padsrc != NULL);<BR>g_assert (padsink != NULL);<BR>if (!gst_pad_unlink(padsrc, padsink))<BR>&nbsp;&nbsp;g_warning ("Failed to unlink elements!");<BR>&nbsp;</SPAN><o:p></o:p></P>
<P class=MsoNormal style="BACKGROUND: white; MARGIN: 0in 0in 12pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #444444; FONT-FAMILY: Verdana; mso-bidi-font-family: Tahoma">any idea why it's not possible to unlink them?<o:p></o:p></SPAN></P><SPAN class=squiggly title="Para ver las sugerencias ortográficas, haz clic en esta palabra" splc="splc" state="new" word="Hi">
</SPAN>&nbsp;<BR>
<DIV>
<H5 align=left><FONT face="Times New Roman, Times, Serif" size=3></FONT>&nbsp;</H5>
<H5 align=left><FONT face="Times New Roman, Times, Serif" color=#000080 size=3><STRONG><EM><FONT face="Times New Roman, Times, Serif" color=#000080 size=3><STRONG><EM><FONT face="Times New Roman, Times, Serif" color=#000080 size=3><STRONG><EM><FONT face="Times New Roman, Times, Serif" color=#000080 size=3><STRONG><EM>Best</EM></STRONG></FONT></EM></STRONG></FONT></EM></STRONG></FONT> Regards!</EM></STRONG></FONT></H5>
<H5 align=left><FONT face="Times New Roman, Times, Serif" color=#000080 size=3><STRONG><EM>Israel&nbsp;Cepeda</EM></STRONG></FONT></H5>
<H5 align=left><FONT face="Times New Roman" color=#000080 size=3><STRONG><EM>Software Engineer&nbsp;</EM></STRONG></FONT></H5>
<H5 align=left><FONT color=#000080><STRONG><EM><FONT face="Times New Roman" size=3>Monte</FONT><FONT face="Times New Roman, Times, Serif" size=3>rrey</FONT><FONT face="Times New Roman, Times, Serif" size=3>, México</FONT></EM></STRONG></FONT></H5></DIV><BR><BR><BR><BR>&gt; Subject: Re: [gst-embedded] link/unlink at runtime<BR>&gt; From: wim.taymans@gmail.com<BR>&gt; To: israel4c@hotmail.com<BR>&gt; CC: gstreamer-embedded@lists.sourceforge.net<BR>&gt; Date: Tue, 25 Nov 2008 22:17:30 +0100<BR>&gt; <BR>&gt; On Tue, 2008-11-25 at 21:09 +0000, Israel Adrián Cepeda López wrote:<BR>&gt; &gt; Hi,<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; I want to know if is it possible to link and unlink elements in a<BR>&gt; &gt; pipeline at runtime, what I mean is something like this:<BR>&gt; &gt; <BR>&gt; &gt; I have a pipeline like this: source -&gt; sink that I put in playing<BR>&gt; &gt; state, but at desert moment I want to change it for something like<BR>&gt; &gt; this:<BR>&gt; &gt; <BR>&gt; &gt; source -&gt; filter -&gt; sink2, I tried pausing the pipeline, and then<BR>&gt; &gt; unlinking the sink element, and linking the filter and sink2<BR>&gt; &gt; elements, but it couldn't link those elements, so if it is not<BR>&gt; &gt; possible, what is the propose of unlink elements?, or how can I link<BR>&gt; &gt; the new elements and play the pipeline?<BR>&gt; &gt; <BR>&gt; This document has some information on how you reconfigure a pipeline at<BR>&gt; runtime:<BR>&gt; <BR>&gt; http://webcvs.freedesktop.org/gstreamer/gstreamer/docs/design/part-block.txt?revision=1.9&amp;view=markup<BR>&gt; <BR>&gt; Wim<BR>&gt; <BR>&gt; &gt; <BR>&gt; &gt; Best Regards<BR>&gt; &gt; Israel Cepeda<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ______________________________________________________________________<BR>&gt; &gt; Obtén 5GB de almacenamiento completamente gratis, sólo ven a Skydrive<BR>&gt; &gt; -------------------------------------------------------------------------<BR>&gt; &gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>&gt; &gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<BR>&gt; &gt; Grand prize is a trip for two to an Open Source event anywhere in the world<BR>&gt; &gt; http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/<BR>&gt; &gt; _______________________________________________ Gstreamer-embedded mailing list Gstreamer-embedded@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded<BR>&gt; <BR><br /><hr />¿Tus fotos son un desorden? La solución a tus males se llama  <a href='http://get.live.com' target='_new'>Galería fotográfica de Windows Live </a></body>
</html>