<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=817480314-15102002><FONT face=Arial size=2>I am using gstreamer 
to realise a part of an ultrasound application. I am looking for the right way 
to stop the plugins so as to flush correctly the stream and to display the last 
acquired frame (I must stop the iteration at the end of the display of this 
frame to be able to communicate then restart the acquisition when 
asked).</FONT></SPAN></DIV>
<DIV><SPAN class=817480314-15102002><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=817480314-15102002><FONT face=Arial size=2>must I 
use:</FONT></SPAN></DIV>
<DIV><SPAN class=817480314-15102002><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
gst_element_set_eos (GST_ELEMENT (bittwareinputplugin));<BR>&nbsp;&nbsp;&nbsp; 
or buf = GST_BUFFER(gst_event_new(GST_EVENT_EOS));<BR></FONT></SPAN><SPAN 
class=817480314-15102002><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; or 
GST_PAD_EOS</FONT></SPAN></DIV>
<DIV><SPAN class=817480314-15102002><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=817480314-15102002><FONT face=Arial size=2>Is there a 
documentation about this? (the helloworld example is too simple for me)&nbsp;I 
use google to find information and&nbsp;I study the code of plugins but there 
are obsolete ways of doing this in plugins and in documentations (google find 
old documentations :( ). Where can I find up to date information about the ways 
of realising a correct EOS?</FONT></SPAN></DIV>
<DIV><SPAN class=817480314-15102002><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=817480314-15102002><FONT face=Arial size=2>Thanks for your 
help</FONT></SPAN><SPAN class=817480314-15102002><FONT face=Arial 
size=2></DIV></FONT></SPAN></BODY></HTML>