Index: test/test.c =================================================================== --- test/test.c (revision 1115) +++ test/test.c (working copy) @@ -60,7 +60,7 @@ static int chapter_end = 0; static int chapter_markers = 0; static char * marker_file = NULL; -static int crf = 0; +static int crf = 1; static char *x264opts = NULL; static char *x264opts2 = NULL; static int maxHeight = 0; @@ -1150,7 +1150,7 @@ " -e, --encoder Set video library encoder (ffmpeg,xvid,\n" " x264,x264b13,x264b30 default: ffmpeg)\n" " -q, --quality Set video quality (0.0..1.0)\n" - " -Q, --crf Use with -q for CRF instead of CQP\n" + " -Q, --no-crf Use with -q for CQP instead of CRF\n" " -S, --size Set target size\n" " -b, --vb Set video bitrate (default: 1000)\n" " -r, --rate Set video framerate (" ); @@ -1317,7 +1317,7 @@ { "ab", required_argument, NULL, 'B' }, { "rate", required_argument, NULL, 'r' }, { "arate", required_argument, NULL, 'R' }, - { "crf", no_argument, NULL, 'Q' }, + { "no-crf", no_argument, NULL, 'Q' }, { "x264opts", required_argument, NULL, 'x' }, { "turbo", no_argument, NULL, 'T' }, { "maxHeight", required_argument, NULL, 'Y' }, @@ -1649,7 +1649,7 @@ abitrate = atoi( optarg ); break; case 'Q': - crf = 1; + crf = 0; break; case 'x': x264opts = strdup( optarg );