diff options
Diffstat (limited to 'recordmydesktop/include')
-rw-r--r-- | recordmydesktop/include/recordmydesktop.h | 1 | ||||
-rw-r--r-- | recordmydesktop/include/rmdtypes.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h index e97a8c0..bd6e974 100644 --- a/recordmydesktop/include/recordmydesktop.h +++ b/recordmydesktop/include/recordmydesktop.h @@ -43,6 +43,7 @@ int Paused,*Running,Aborted; pthread_cond_t *time_cond,*pause_cond; +pthread_mutex_t pause_mutex,time_mutex; unsigned char Yr[256],Yg[256],Yb[256], Ur[256],Ug[256],Ub[256], Vr[256],Vg[256],Vb[256]; diff --git a/recordmydesktop/include/rmdtypes.h b/recordmydesktop/include/rmdtypes.h index de9565a..c97216d 100644 --- a/recordmydesktop/include/rmdtypes.h +++ b/recordmydesktop/include/rmdtypes.h @@ -273,6 +273,10 @@ typedef struct _ProgData{ pthread_mutex_t list_mutex[2], //mutexes for concurrency //protection of the lists sound_buffer_mutex, + snd_buff_ready_mutex, + img_buff_ready_mutex, + theora_lib_mutex, + vorbis_lib_mutex, libogg_mutex, //libogg is not thread safe, yuv_mutex; //this might not be needed since we only have //one read-only and one write-only thread |