summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/en/mplayer.16
-rw-r--r--DOCS/man/fr/mplayer.12
-rw-r--r--libmpcodecs/ve_xvid4.c3
3 files changed, 6 insertions, 5 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1
index 43d3849d96..e35e1cf16d 100644
--- a/DOCS/man/en/mplayer.1
+++ b/DOCS/man/en/mplayer.1
@@ -8601,8 +8601,8 @@ This seems to be mandatory only for old versions of DivX's decoder.
As of XviD-1.0.x, this option is replaced by the closed_gop option.
.
.TP
-.B (no)greyscale
-Make XviD discard chroma planes so the encoded video is greyscale only.
+.B (no)grayscale
+Make XviD discard chroma planes so the encoded video is grayscale only.
Note that this does not speed up encoding, it just prevents chroma data
from being written in the last stage of encoding.
.
@@ -8737,7 +8737,7 @@ It will improve quality at the cost of encoding speed.
It reduces PSNR by nature, as the mathematical deviation to the original
picture will get bigger, but the subjective image quality will raise.
Since it works with color information, you might want to turn it off when
-encoding in greyscale.
+encoding in grayscale.
.
.TP
.B (no)hq_ac
diff --git a/DOCS/man/fr/mplayer.1 b/DOCS/man/fr/mplayer.1
index da8526c7ff..2d759e8c2a 100644
--- a/DOCS/man/fr/mplayer.1
+++ b/DOCS/man/fr/mplayer.1
@@ -9068,7 +9068,7 @@ Ceci ne semble nécessaire qu'avec de vieilles versions du décodeur de DivX.
closed_gop.
.
.TP
-.B (no)greyscale
+.B (no)grayscale
Indique à XviD de ne pas enregistrer l'information de chroma pour que la
vidéo produite ne soit qu'en noir & blanc.
Notez que cela ne changera en rien le temps de compression, cela évitera juste
diff --git a/libmpcodecs/ve_xvid4.c b/libmpcodecs/ve_xvid4.c
index 0ef1cfcaa7..5af21bd7e5 100644
--- a/libmpcodecs/ve_xvid4.c
+++ b/libmpcodecs/ve_xvid4.c
@@ -331,7 +331,8 @@ m_option_t xvidencopts_conf[] =
{"nohq_ac", &xvidenc_hqacpred, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{"frame_drop_ratio", &xvidenc_frame_drop_ratio, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
{"max_key_interval", &xvidenc_max_key_interval, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
- {"greyscale", &xvidenc_greyscale, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"greyscale", &xvidenc_greyscale, CONF_TYPE_FLAG, 0, 0, 1, NULL}, /* kept for backward compatibility */
+ {"grayscale", &xvidenc_greyscale, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"nogreyscale", &xvidenc_greyscale, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{"lumi_mask", &xvidenc_luminance_masking, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"nolumi_mask", &xvidenc_luminance_masking, CONF_TYPE_FLAG, 0, 1, 0, NULL},