diff options
author | biocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-07-14 19:42:19 +0000 |
---|---|---|
committer | biocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-07-14 19:42:19 +0000 |
commit | 3fc7324d4ceacb40e2c919ac0821568e9518795a (patch) | |
tree | 090e2ece0ab5fd48a8e23e830f9fd767102de81f /recordmydesktop/include | |
parent | 1583f3b9199ec5dd12c29375aecb9cede3ece770 (diff) |
framedrop option added,performance improvements
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@8 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/include')
-rw-r--r-- | recordmydesktop/include/recordmydesktop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h index 98344c4..6d97462 100644 --- a/recordmydesktop/include/recordmydesktop.h +++ b/recordmydesktop/include/recordmydesktop.h @@ -116,6 +116,7 @@ typedef struct _ProgArgs{ int scshot; //take screenshot and exit(default 0) int scale_shot; //screenshot subscale factor(default 1) int v_bitrate,v_quality,s_quality;//video bitrate,video-sound quality + int dropframes; //option for theora encoder }ProgArgs; @@ -262,7 +263,7 @@ int avd; (args)->windowid=(args)->x=(args)->y\ =(args)->width=(args)->height=(args)->quietmode\ =(args)->nosound=(args)->scshot=(args)->full_shots=0;\ - (args)->noshared=(args)->scale_shot=1;\ + (args)->noshared=(args)->scale_shot=(args)->dropframes=1;\ (args)->filename=(char *)malloc(8);\ strcpy((args)->filename,"out.ogg");\ (args)->encoding=OGG_THEORA_VORBIS;\ |