From 97d04dc832d787183762168a420e640c08276f4d Mon Sep 17 00:00:00 2001 From: iovar Date: Thu, 29 Nov 2007 18:17:35 +0000 Subject: Fix for #1837809. Don't check for pdata->avd, when there is no sound. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@440 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/get_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recordmydesktop/src/get_frame.c b/recordmydesktop/src/get_frame.c index ee1bcf4..683e68e 100644 --- a/recordmydesktop/src/get_frame.c +++ b/recordmydesktop/src/get_frame.c @@ -213,7 +213,7 @@ void *GetFrame(ProgData *pdata){ //if we are left behind we must not wait. //also before actually pausing we must make sure the streams //are synced. sound stops so this should only happen quickly. - if(pdata->avd>0){ + if(pdata->avd>0 || pdata->args.nosound){ pthread_mutex_lock(&time_mutex); pthread_cond_wait(&pdata->time_cond,&time_mutex); pthread_mutex_unlock(&time_mutex); -- cgit v1.2.3