Player worker: QCondition time is in ms

This commit is contained in:
Louis-Joseph Fournier 2016-01-14 16:19:22 +01:00
parent 8c681db1cd
commit 5ccdc4f749

View file

@ -197,7 +197,7 @@ void TunerWorker::Entry()
blank_prevent(false);
bool waked;
while (!running && !playing && !quit) {
waked = condition.wait(&mutex, p_play ? 1000000 : ULONG_MAX);
waked = condition.wait(&mutex, p_play ? 1000 : ULONG_MAX);
// free playing now
if (!waked && p_play) {
pa_simple_free(p_play);