summaryrefslogtreecommitdiff
path: root/doc/encoders.texi
diff options
context:
space:
mode:
authorMichael Kuron <michael.kuron@gmail.com>2020-02-03 20:42:31 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-02-04 23:34:22 +0100
commitd4440c7e91b0ef5f6776d98c51dbb6cd66ea0194 (patch)
tree0ad69a9506c4ce947bcb2ea9eed9a6d9e514fe07 /doc/encoders.texi
parentbf070a9171d9d5b3603e5bcf7e72dd9e584a3b83 (diff)
lavc/dvdsubenc: accept palette from options
Previously, the default palette would always be used. Now, we can accept a custom palette, just like dvdsubdec does. Signed-off-by: Michael Kuron <michael.kuron@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r--doc/encoders.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi
index e26d6b5425..7bae39435e 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -3211,6 +3211,14 @@ and they can also be used in Matroska files.
@subsection Options
@table @option
+@item palette
+Specify the global palette used by the bitmaps.
+
+The format for this option is a string containing 16 24-bits hexadecimal
+numbers (without 0x prefix) separated by commas, for example @code{0d00ee,
+ee450d, 101010, eaeaea, 0ce60b, ec14ed, ebff0b, 0d617a, 7b7b7b, d1d1d1,
+7b2a0e, 0d950c, 0f007b, cf0dec, cfa80c, 7c127b}.
+
@item even_rows_fix
When set to 1, enable a work-around that makes the number of pixel rows
even in all subtitles. This fixes a problem with some players that