Hi,<br>&nbsp;Im interested about integrating Xwindow and <br>gstreamer too, someone told me on irc we could using <br>gst_bus_poll() to for getting the bus message inspite of using gmainloop. <br>So we could get the XWindow event, and gstmessage on 1 loop.<br>But i dont know for sure about it coz until now i never try it.<br>Sorry i dont have any solution for ur problem about seeking problem. <br><br><b><i>bounce bounce &lt;bouncebounce@caramail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Thanks for your reply.<br><br>But I've some precision to give.<br>I don't succeed to use "direcdrawsink" to output the video. But now, I'm developping temporarily on Cygwin and I'm using "ximagesrc" like sink and it's right. I will comeback with the directdrawsink later when I will have an update of Hummingbird Exceed.<br><br>Next to begin with, I'm initializing the GStreamer's library with
 "gst_init_check".<br>Next, I'm using "g_main_loop_new" to create a temporarily loop that I'm stopping when I detect a change of state on the bus to GST_STATE_PLAYING. I'm doing that because as I'm developping with Xwindow (which is not based on glib), and if the loop is keeping, it will block my GUI and I will not be able to manipulate the video. So, when I detect this change of state, I stop the loop and I use "XtAppAddTimeOut" to repeat some action on GUI like the update of a scalebar.<br>That's the only way I found to allow the update of the scalebar ...<br><br>I've another problem when I put the video on GST_STATE_PAUSED only. It's paused but when I do later a GSt_STATE_PLAYING,  it's not playing but stays at pause.<br>And the value returns by "gst_element_set_state" is "GST_STATE_CHANGE_ASYNC".<br>Thus the problem will be perhaps caused by the pause of the video which happens asynchroneously in the background.<br><br>An other precision, the use of
 "gst_element_seek(playbin, ...)" rather than "gst_element_seek(vsink, ...) " doesn't arrange the problem. And the use of "gst_element_seek_simple ()" rather than "gst_element_seek()" doesn't change the problem.<br><br><br>Can the problem be corrected with a flush ?<br>Do yiou have ideas about these problems ?<br><br>Thanks.-------------------------------------------------------------------------<br>This SF.net email is sponsored by DB2 Express<br>Download DB2 Express C - the FREE version of DB2 express and take<br>control of your XML. No limits. Just data. Click to get it now.<br>http://sourceforge.net/powerbar/db2/_______________________________________________<br>gstreamer-devel mailing list<br>gstreamer-devel@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br></blockquote><br><p>&#32;
      <hr size=1>Shape Yahoo! in your own image.  
<a href="http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">Join our Network Research Panel today!</a>