<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"> <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"> <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> g_warning ("Failed to unlink elements!");<BR> </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> <BR>
<DIV>
<H5 align=left><FONT face="Times New Roman, Times, Serif" size=3></FONT> </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 Cepeda</EM></STRONG></FONT></H5>
<H5 align=left><FONT face="Times New Roman" color=#000080 size=3><STRONG><EM>Software Engineer </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>> Subject: Re: [gst-embedded] link/unlink at runtime<BR>> From: wim.taymans@gmail.com<BR>> To: israel4c@hotmail.com<BR>> CC: gstreamer-embedded@lists.sourceforge.net<BR>> Date: Tue, 25 Nov 2008 22:17:30 +0100<BR>> <BR>> On Tue, 2008-11-25 at 21:09 +0000, Israel Adrián Cepeda López wrote:<BR>> > Hi,<BR>> > <BR>> > <BR>> > <BR>> > I want to know if is it possible to link and unlink elements in a<BR>> > pipeline at runtime, what I mean is something like this:<BR>> > <BR>> > I have a pipeline like this: source -> sink that I put in playing<BR>> > state, but at desert moment I want to change it for something like<BR>> > this:<BR>> > <BR>> > source -> filter -> sink2, I tried pausing the pipeline, and then<BR>> > unlinking the sink element, and linking the filter and sink2<BR>> > elements, but it couldn't link those elements, so if it is not<BR>> > possible, what is the propose of unlink elements?, or how can I link<BR>> > the new elements and play the pipeline?<BR>> > <BR>> This document has some information on how you reconfigure a pipeline at<BR>> runtime:<BR>> <BR>> http://webcvs.freedesktop.org/gstreamer/gstreamer/docs/design/part-block.txt?revision=1.9&view=markup<BR>> <BR>> Wim<BR>> <BR>> > <BR>> > Best Regards<BR>> > Israel Cepeda<BR>> > <BR>> > <BR>> > ______________________________________________________________________<BR>> > Obtén 5GB de almacenamiento completamente gratis, sólo ven a Skydrive<BR>> > -------------------------------------------------------------------------<BR>> > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>> > Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>> > Grand prize is a trip for two to an Open Source event anywhere in the world<BR>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/<BR>> > _______________________________________________ Gstreamer-embedded mailing list Gstreamer-embedded@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded<BR>> <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>