summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-15 14:35:06 +0000
committerjstebbins <[email protected]>2015-05-15 14:35:06 +0000
commit9cc07919724e2148278ad7bf80598446fd2872a2 (patch)
tree9c8ab2e5319e581ecedcbd4730f035c0fccdabc3 /test
parent6be1bdf4c6c905a68f352e30c9231b991a0c0c5e (diff)
rotate: Use more intuitive rotation parameters
Instead of cryptic bit flags, allow "angle:mirror" parameter git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7189 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/test/test.c b/test/test.c
index eb4918319..640db68ae 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1298,16 +1298,11 @@ if (hb_qsv_available())
" -7, --deblock Deblock video with pp7 filter\n"
" <QP:M> (default 5:2)\n"
" --no-deblock Disable preset deblock filter\n"
-" --rotate <mode> Rotate image or flip its axes.\n"
-" Modes: (can be combined)\n"
-" 0 disable rotate\n"
-" 1 vertical flip\n"
-" 2 horizontal flip\n"
-" 4 rotate clockwise 90 degrees\n"
-" More Examples:\n"
-" 3 horiz + vert (aka rotate 180')\n"
-" 7 horiz + vert + 90' (aka rotate 270')\n"
-" Default: 3 (vertical and horizontal flip)\n"
+" --rotate Rotate image or flip its axes.\n"
+" <angle>:<mirror> Angle rotates clockwise, can be one of:\n"
+" 0, 90, 180, 270\n"
+" Mirror flips the image on the x axis.\n"
+" Default: 180:0 (rotate 180 degrees)\n"
" -g, --grayscale Grayscale encoding\n"
" --no-grayscale Disable preset 'grayscale'\n"
"\n"
@@ -2250,7 +2245,7 @@ static int ParseOptions( int argc, char ** argv )
}
else
{
- rotate = strdup("3");
+ rotate = strdup("180:0");
}
break;
case KEEP_DISPLAY_ASPECT: