From c93d52568f86b5639d40e34e384e8115e0037b75 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 16 Apr 2006 13:34:47 +0000 Subject: [PATCH] fixed --help output --- avi2swf/avi2swf.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/avi2swf/avi2swf.cc b/avi2swf/avi2swf.cc index a9e4619..2ce63c1 100644 --- a/avi2swf/avi2swf.cc +++ b/avi2swf/avi2swf.cc @@ -57,10 +57,11 @@ static struct options_t options[] = { {"n", "num"}, {"m", "mp3-bitrate"}, {"r", "mp3-samplerate"}, -{"d", "scale"}, -{"k", "keyframe"}, +{"s", "scale"}, +{"S", "skipframes"}, {"p", "flip"}, {"q", "quality"}, +{"k", "keyframe"}, {"x", "extragood"}, {"T", "flashversion"}, {"V", "version"}, @@ -119,7 +120,7 @@ int args_callback_option(char*name,char*val) } else if(!strcmp(name, "m")) { mp3_bitrate = atoi(val); - return 0; + return 1; } else if(!strcmp(name, "r")) { samplerate = atoi(val); @@ -166,9 +167,11 @@ void args_callback_usage(char *name) printf("-n , --num frames Number of frames to encode\n"); printf("-m , --mp3-bitrate Set the mp3 bitrate to encode audio with\n"); printf("-r , --mp3-samplerate Set the mp3 samplerate to encode audio with (default: 11025)\n"); - printf("-d , --scale Scale down to factor . (in %, e.g. 100 = original size)\n"); + printf("-s , --scale Scale down to factor . (in %, e.g. 100 = original size)\n"); + printf("-S , --skipframes Skip frames before starting the conversion.\n"); printf("-p , --flip Turn movie upside down\n"); printf("-q , --quality Set the quality to . (0-100, 0=worst, 100=best, default:80)\n"); + printf("-k , --keyframe Set the number of intermediate frames between keyframes.\n"); printf("-x , --extragood Enable some *very* expensive compression strategies.\n"); printf("-T , --flashversion Set output flash version to .\n"); printf("-V , --version Print program version and exit\n"); -- 1.7.10.4