summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-02-19 23:07:31 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-02-20 19:39:40 +0100
commit22b06103f0195a46a30ed1ac8dfe967296f5bad3 (patch)
tree69bd722ffbc97a31ad6274606fc19f5831479e44 /doc
parent2db0056f9680649730a6908687089213be4372df (diff)
lavfi/overlay: add format option
In particular, fix misbehavior in case main and overlay input formats mismatch (e.g. YUV420 and YUV444).
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 6b7ee89ac3..152afb3bb7 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3878,9 +3878,27 @@ overlay input width and height
same as @var{overlay_w} and @var{overlay_h}
@end table
+@item format
+Set the format for the output video.
+
+It accepts the following values:
+@table @samp
+@item yuv420
+force YUV420 output
+
+@item yuv444
+force YUV444 output
+
@item rgb
+force RGB output
+@end table
+
+Default value is @samp{yuv420}.
+
+@item rgb @emph{(deprecated)}
If set to 1, force the filter to accept inputs in the RGB
-color space. Default value is 0.
+color space. Default value is 0. This option is deprecated, use
+@option{format} instead.
@item shortest
If set to 1, force the output to terminate when the shortest input