diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-09-28 09:18:19 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-09-28 09:18:19 +0000 |
commit | 395830a22e96d29a9bdf9001e9147bc25d71fd3f (patch) | |
tree | afaa6ac8c13750d794fc81980dd8350e018170d2 /recordmydesktop/src/register_callbacks.c | |
parent | 1cc2dacb502aec6ca162d7c76619e45067a28e15 (diff) |
frame duplication instead of dropping sound
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@72 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/register_callbacks.c')
-rw-r--r-- | recordmydesktop/src/register_callbacks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recordmydesktop/src/register_callbacks.c b/recordmydesktop/src/register_callbacks.c index 262e3ae..677fc75 100644 --- a/recordmydesktop/src/register_callbacks.c +++ b/recordmydesktop/src/register_callbacks.c @@ -29,10 +29,11 @@ void SetExpired(int signum){ frames_total++; if(capture_busy){ - frames_to_add++; frames_lost++; } - pthread_cond_broadcast(time_cond); + pthread_cond_broadcast(time_cond);//sig handlers should not call this func + //could be a set_expired and main thread + //doing a while(running) if set_expired broadcast else usleep(n) } void SetPaused(int signum){ |