<DIV>Can you elaborate on what you mean that I am not connecting to "error" signals? I don't quite understand. 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> </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. I would like to know how to make it to work in 0.6.4. Does anyone have any suggestions? </DIV>
<DIV> </DIV>
<DIV>Here's a code snippet:</DIV>
<DIV> </DIV>
<DIV>pipeline = gst_parse_launch ("filesrc name=my_filesrc ! spider ! identity name=listener ! osssink", &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> <BR>listener = gst_bin_get_by_name (GST_BIN (pipeline), "listener");<BR>g_signal_connect (G_OBJECT (listener), "handoff",<BR> G_CALLBACK (cb_manipulate), this);<BR><BR><B><I>Ronald Bultje <rbultje@ronald.bitfreak.net></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>> Thanks. I tried it, but I get the following error when I use<BR>> gst_parse_launch:<BR><BR>You're not connecting to 'error' signals and such...<BR><BR>> pipeline = gst_parse_launch ("filesrc name=my_filesrc ! spider !<BR>> identity name=my_listnener ! osssink", &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>