diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-11-29 18:17:35 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-11-29 18:17:35 +0000 |
commit | 97d04dc832d787183762168a420e640c08276f4d (patch) | |
tree | 89de1c84ddf17b70a3b78677ae9d599272ff1fc3 | |
parent | fd4c3b1253ba5815e59ea1870253247dceb15ea3 (diff) |
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
-rw-r--r-- | recordmydesktop/src/get_frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |