Hi<br><br>In the code I am working on, upon a user generated event, queuing of a gobject idle add is enabled that queues an idle add whenever I get new data from the gstreamer pipeline. <br><br>a rough sequence of desired events is as follows --&gt;<br>
<br><br>-user event generated&nbsp; <br>-enable gobject.idle_add to queue up data buffer upon receiving a &quot;handoff&quot; signal from the gstreamer fakesink<br>-attempt to wait for 2/3 buffers to accumulate in the appropriate callback functions<br>
-disable gobject.idle_add&nbsp; and disable the handoff signal<br>-process the data buffers<br><br><br><br>I need to wait in my main thread for a few of these buffers to acquire before moving forward.&nbsp; If I use time.sleep it seems to me that i stop getting data buffers too. It may be that the handoff signal gets disabled and/or the gobject.idle_add doesn&#39;t get invoked<br>

<br><br>I&#39;m looking to use a different choice of either (a) time/wait or (b) gobject.idle_add <br><br>Kindly let me know with suggestions to help me overcome this problem. <br><br><br>thanks<br>Arjun<br><br><br clear="all">
<br>-- <br>Arjun Sarwal<br>&lt;<a href="mailto:arjun@laptop.org" target="_blank">arjun@laptop.org</a>&gt;