diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-12-04 17:50:45 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-12-04 17:50:45 +0000 |
commit | 8c82442c6fcdc29663ad902125cb697a3f1f50e2 (patch) | |
tree | f1d5731b2eb8169b24a6c02b16c0f68cfedf487d /recordmydesktop/src/capture_sound.c | |
parent | 50c363e436ef1063baa3ddace1f29507c644237c (diff) |
Added custom X error handler, to
avoid BadWindow on XGetWindowAttributes, with XQueryTree
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@210 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/capture_sound.c')
-rw-r--r-- | recordmydesktop/src/capture_sound.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/recordmydesktop/src/capture_sound.c b/recordmydesktop/src/capture_sound.c index f9a7675..702d325 100644 --- a/recordmydesktop/src/capture_sound.c +++ b/recordmydesktop/src/capture_sound.c @@ -33,7 +33,6 @@ void *CaptureSound(ProgData *pdata){ // fprintf(stderr,"fr %d ps %d\n",frames,pdata->periodsize);fflush(stderr); pthread_mutex_t pmut; pthread_mutex_init(&pmut,NULL); - pdata->sound_buffer=NULL; while(pdata->running){ int sret=0; |