Updating xvimagesink to support XSync synchronization.

Stirling Westrup swestrup at gmail.com
Thu Aug 21 14:47:25 PDT 2014


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.

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.

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.

So far though, my attempts at doing so have completely failed. Not sure why.
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.

I thought the xvimagesink's time_base property would give me that final
value, but its always zero, which makes no sense to me.

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.


-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140821/c82b7a6f/attachment.html>


More information about the gstreamer-devel mailing list