Now I understand the trick begind the problem in 5136dd5 commit. I must
split the program in 3 threads, one thread for reading and decoding
packets, one thread for audio output and sync, and the last thread for
video synching and output (Main thread). Preparing the new thread system
for this new task.
Using FFmpeg as audio output isn't a good idea. I need to know when an
audio frame is consumed and FFmpeg doesn't provides that information.
Thaodan (#12) has reason, supporting special platforms doesn't justifies
adding mlocate as default dependency, removing.