From eb22fd3b9a02777193406a232cf829100ad3c32c Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Mon, 20 Nov 2006 18:12:07 +0000 Subject: [PATCH] Fix for windows deadlock --- player.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/player.cc b/player.cc index 75297c3..d9ddd51 100644 --- a/player.cc +++ b/player.cc @@ -859,12 +859,24 @@ void Player::threadFeedLive() preBuffering = false; preBufferTotal = 0; + +// FIXME check the win32 code on the mvp +#ifndef WIN32 audio->sync(); audio->play(); video->sync(); video->pause(); afeed.start(); vfeed.start(); +#else + afeed.start(); + vfeed.start(); + audio->sync(); + audio->play(); + video->sync(); + video->pause(); +#endif + // unLock(); // thread will be locked by play until here // FIXME - see if this can segfault because it is starting threads out of the master mutex } -- 2.39.2