summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorsaintdev <[email protected]>2008-03-20 02:40:02 +0000
committersaintdev <[email protected]>2008-03-20 02:40:02 +0000
commit3a3870d7ea1e81e1a145b1d555b9f0164860f9e3 (patch)
tree9243f518a3d3827ce2d85c28c4c426e22c780a6f /test
parent1cac31c9ed66396d3fc8a00e9fd75b5f56b000a0 (diff)
Theora.
This adds the theora encoder to the Xcode project as well. It does not enable anything in the Mac GUI, just allows it to build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1350 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c
index b0da8893d..e6c978cd3 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1178,7 +1178,7 @@ static void ShowHelp()
"### Video Options------------------------------------------------------------\n\n"
" -e, --encoder <string> Set video library encoder (ffmpeg,xvid,\n"
- " x264,x264b13,x264b30 default: ffmpeg)\n"
+ " x264,x264b13,x264b30,theora default: ffmpeg)\n"
" -q, --quality <float> Set video quality (0.0..1.0)\n"
" -Q, --cqp Use with -q for CQP instead of CRF\n"
" -S, --size <MB> Set target size\n"
@@ -1586,6 +1586,10 @@ static int ParseOptions( int argc, char ** argv )
vcodec = HB_VCODEC_X264;
h264_30 = 1;
}
+ else if( !strcasecmp( optarg, "theora" ) )
+ {
+ vcodec = HB_VCODEC_THEORA;
+ }
else
{
fprintf( stderr, "invalid codec (%s)\n", optarg );