summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/register_callbacks.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-11-14 15:17:17 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-11-14 15:17:17 +0000
commit4aad6bcefff91baceb2c24f23fbca96f1c96e748 (patch)
tree8b92a5453c086c1b3708e9cf94bfd99534ef79aa /recordmydesktop/src/register_callbacks.c
parent6407809f57993199685ee9f1b83c4be500274c74 (diff)
src/encode_cache.c,src/register_callbacks.c :added state change messages
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@431 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/register_callbacks.c')
-rw-r--r--recordmydesktop/src/register_callbacks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/recordmydesktop/src/register_callbacks.c b/recordmydesktop/src/register_callbacks.c
index 2c5a8a3..545c576 100644
--- a/recordmydesktop/src/register_callbacks.c
+++ b/recordmydesktop/src/register_callbacks.c
@@ -47,10 +47,13 @@ void SetExpired(int signum){
}
void SetPaused(int signum){
- if(!Paused)
+ if(!Paused){
Paused=1;
+ fprintf(stderr,"STATE:PAUSED\n");
+ }
else{
Paused=0;
+ fprintf(stderr,"STATE:RECORDING\n");
/*FIXME */
//This is not safe.
//cond_var signaling must move away from signal handlers
© All Rights Reserved