<DIV>Hi Jan,</DIV>
<DIV>&nbsp; Thank you idea firsr! and you are very right,there is indeed invalid GstAdapter pointer passed to the API,but must I always pass the valid one to the API in order not to get the erro information?&nbsp;whether there is other way out?</DIV>
<DIV>Volter</DIV>
<DIV><BR>在2007-12-20,"Jan Schmidt" &lt;thaytan@mad.scientist.com&gt; 写道:<BR></DIV>
<BLOCKQUOTE id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><PRE>&lt;quote who="Volter Yen"&gt;

&gt;    Hi all,
&gt;     
&gt;       When I excute my gstreamer application,it gives the following output
&gt;    information(the information are tiggered by the flutsdemux gstreamer
&gt;    plugin,and processed by the gstreamer framework)
&gt;     
&gt;    ...  
&gt;       21 ** (myapp:7770): CRITICAL **: gst_adapter_push: assertion
&gt;    `GST        _IS_ADAPTER (adapter)' failed
&gt;         22
&gt;         23 ** (tsplayer:7770): CRITICAL **: gst_adapter_available:
&gt;    assertion         `GST_IS_ADAPTER (adapter)' failed
&gt;         24
&gt;         25 ** (tsplayer:7770): CRITICAL **: gst_adapter_take: assertion
&gt;    `GST        _IS_ADAPTER (adapter)' failed
&gt;    .....
&gt;     

These errors indicate that some part of the program is making calls to the
GstAdapter API, but passing an invalid GstAdapter pointer. You should find
where that is and fix it to silence the warnings.

I´d use gdb and break on the g_log function to check where the calls are
happening, but it might also be easy to spot in your code directly.

Jan.

-- 
Jan Schmidt                                  thaytan@mad.scientist.com

&lt;stibbons&gt; Yeah.  The whole climax thing would make much more sense
           if I'd paid attention.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
</PRE></BLOCKQUOTE>