From 28697c059df1f6b276a490123611c439996085c8 Mon Sep 17 00:00:00 2001 From: enselic Date: Sat, 13 Sep 2008 12:37:57 +0000 Subject: include/recordmydesktop.h: Remove the globals Paused, Aborted and PauseStateChanged. include/rmdtypes.h: Add the previous globals as members in ProgData. src/rmd_jack.c src/get_frame.c src/rmd_timer.c src/rmd_rescue.c src/cache_audio.c src/cache_frame.c src/capture_sound.c src/initialize_data.c src/recordmydesktop.c src/register_callbacks.c src/encode_image_buffer.c src/encode_sound_buffer.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@529 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/recordmydesktop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recordmydesktop/src/recordmydesktop.c') diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c index e2b394e..5a04bbc 100644 --- a/recordmydesktop/src/recordmydesktop.c +++ b/recordmydesktop/src/recordmydesktop.c @@ -151,7 +151,7 @@ int main(int argc,char **argv){ //encode and then cleanup cache if(!pdata.args.encOnTheFly && !pdata.args.no_encode){ - if(!Aborted){ + if (!pdata.aborted) { EncodeCache(&pdata); } fprintf(stderr,"Cleanning up cache...\n"); @@ -162,7 +162,7 @@ int main(int argc,char **argv){ } - if(Aborted && pdata.args.encOnTheFly){ + if (pdata.aborted && pdata.args.encOnTheFly) { if(remove(pdata.args.filename)){ perror("Error while removing file:\n"); return 1; -- cgit v1.2.3