summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-05-24 13:18:42 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-05-24 13:18:42 +0000
commit8a191b6e1530efa087c48db581251c0b09622271 (patch)
tree12a48d75b28fe5addc798ecc18244ba635ab69ff /recordmydesktop
parent8852f389475f844ae884cf7feb48dc19835a18c0 (diff)
Restored --full-shots functionality by disabling double buffering
(since there will be some time before the feature is completed and meanwhile, it is better for CVS to be completely functional). get_frame.c:106 Change 0 to pdata->args.full_shots to reenable dbuffering git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@340 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/get_frame.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/recordmydesktop/src/get_frame.c b/recordmydesktop/src/get_frame.c
index 20a07fe..56ca43e 100644
--- a/recordmydesktop/src/get_frame.c
+++ b/recordmydesktop/src/get_frame.c
@@ -102,8 +102,9 @@ void *GetFrame(ProgData *pdata){
//the current full screenshot
XShmSegmentInfo shminfo,shminfo_back;//info structure for the image above.
int init_img1=0,init_img2=0,
- d_buff=pdata->args.full_shots,
- img_sel=1;
+ img_sel,d_buff;
+ img_sel=d_buff=0/*pdata->args.full_shots*/;
+
char *pxl_data=NULL,*pxl_data_back=NULL;
if((init_img1=FirstFrame(pdata,&image,&shminfo,&pxl_data)!=0)){
if(pdata->args.encOnTheFly){
© All Rights Reserved