<DIV>Can you elaborate on what you mean that I am not connecting to "error" signals?&nbsp; I don't quite understand.&nbsp; I used gst_parse_launch and attached an identity (listener) after a spider, and I got the following error when using Gstreamer 0.6.4:</DIV>
<DIV>&nbsp;</DIV>
<DIV>CRITICAL **: file gstsearchfuncs.c: line 332 (gst_autoplug_sp): assertion `sinkcaps != NULL' failed<BR></DIV>
<DIV>When I used the exact same code in Gstreamer 0.7.3, it worked.&nbsp; I would like to know how to make it to work in 0.6.4.&nbsp; Does anyone have any suggestions?&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Here's&nbsp;a code snippet:</DIV>
<DIV>&nbsp;</DIV>
<DIV>pipeline = gst_parse_launch ("filesrc name=my_filesrc ! spider ! identity name=listener ! osssink", &amp;error);<BR></DIV>
<DIV>filesrc = gst_bin_get_by_name (GST_BIN (pipeline), "my_filesrc");<BR>g_object_set (G_OBJECT (filesrc), "location", "./sample.mp3", NULL);</DIV>
<DIV>&nbsp;&nbsp;<BR>listener = gst_bin_get_by_name (GST_BIN (pipeline), "listener");<BR>g_signal_connect (G_OBJECT (listener), "handoff",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; G_CALLBACK (cb_manipulate), this);<BR><BR><B><I>Ronald Bultje &lt;rbultje@ronald.bitfreak.net&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">Hi Quan,<BR><BR>On Mon, 2004-01-12 at 19:53, Quan Nguyen wrote:<BR>&gt; Thanks. I tried it, but I get the following error when I use<BR>&gt; gst_parse_launch:<BR><BR>You're not connecting to 'error' signals and such...<BR><BR>&gt; pipeline = gst_parse_launch ("filesrc name=my_filesrc ! spider !<BR>&gt; identity name=my_listnener ! osssink", &amp;error);<BR><BR>You're not actually giving a file location.<BR><BR>Ronald<BR><BR>-- <BR>Ronald Bultje <RBULTJE@RONALD.BITFREAK.NET><BR>Linux Video/Multimedia developer<BR></BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>