> In any case, the big issue I'm facing right now is sync on the
> consumer side. I'm using posix's clock_nanosleep to run the consumer
> thread every ((1 / fps) * 1000000000) nanoseconds, but it's running
> slightly slow. I've even stopped using the read lock on the producer's
> side in case write starvation was the issue (slightly dangerous, might
> get corrupted data if the frame changes while making a read, but
> hasn't seen it happen so far).
This has been fixed, it was a bug in my producer sync code
--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde
|_|0|_|
|_|_|0|
|0|0|0|
(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel