<div dir="ltr"><div><div><div>I've spent the last few days working on the source code for xvimagesink so that I could add a new synchronization method. The idea is that I want to better synchronize xvimagesink's that are connected to independent Xorg programs running on the same server.<br>
<br></div>The XSync extension exposes what is (at least on Linux) a monotonic system clock called SERVERTIME, and I've mostly gotten xvimagesink to work with it, but now I've run into a roadblock.<br><br></div>Namely, I was hoping to be able to impose a monotonic clock on my program pipeline, so as to ensure that buffer start times would be directly comparable to SERVERTIME values.<br>
<br></div>So far though, my attempts at doing so have completely failed. Not sure why.<br><div>Failing that, I need some way to know both how the current clock differs from the SERVERTIME clock, and how the buffer timestamps differ from the current clock.<br>
<br>I thought the xvimagesink's time_base property would give me that final value, but its always zero, which makes no sense to me.<br><br></div><div>Any help would be greatly appreciated. I can provide the source code as a patch against xvimagesink, if anyone is really interested in what I did.<br>
<br clear="all"></div><div><div><div><div><div><br>-- <br>Stirling Westrup<br>Programmer, Entrepreneur.<br><a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br>
<a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a>
</div></div></div></div></div></div>