From 3fc7324d4ceacb40e2c919ac0821568e9518795a Mon Sep 17 00:00:00 2001 From: biocrasher Date: Fri, 14 Jul 2006 19:42:19 +0000 Subject: framedrop option added,performance improvements git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@8 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/include/recordmydesktop.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recordmydesktop/include') 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;\ -- cgit v1.2.1