diff mbox series

[FFmpeg-devel,v1,1/2] avfilter/vf_subtitles: Reorganized subtitles filter options.

Message ID 20210704161315.25031-1-mstamat@gmail.com
State New
Headers show
Series [FFmpeg-devel,v1,1/2] avfilter/vf_subtitles: Reorganized subtitles filter options. | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Manolis Stamatogiannakis July 4, 2021, 4:13 p.m. UTC
Some options are common between subtitles/ass filters.
Rather than mentioning for each option whether it is common or not,
the options are now displayed in two separate tables.

Signed-off-by: Manolis Stamatogiannakis <mstamat@gmail.com>
---
 doc/filters.texi | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/doc/filters.texi b/doc/filters.texi
index eaf23e3736..61c4cfc150 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7093,6 +7093,7 @@  This filter supports the following @ref{commands} that corresponds to option of
 @item planes
 @end table
 
+@anchor{ass}
 @section ass
 
 Same as the @ref{subtitles} filter, except that it doesn't require libavcodec
@@ -19467,7 +19468,7 @@  To enable compilation of this filter you need to configure FFmpeg with
 libavformat to convert the passed subtitles file to ASS (Advanced Substation
 Alpha) subtitles format.
 
-The filter accepts the following options:
+Common @ref{subtitles}/@ref{ass} filter options:
 
 @table @option
 @item filename, f
@@ -19486,13 +19487,16 @@  These fonts will be used in addition to whatever the font provider uses.
 
 @item alpha
 Process alpha channel, by default alpha channel is untouched.
+@end table
 
+Additional options for @ref{subtitles} filter:
+
+@table @option
 @item charenc
-Set subtitles input character encoding. @code{subtitles} filter only. Only
-useful if not UTF-8.
+Set subtitles input character encoding. Only useful if not UTF-8.
 
 @item stream_index, si
-Set subtitles stream index. @code{subtitles} filter only.
+Set subtitles stream index.
 
 @item force_style
 Override default style or script info parameters of the subtitles. It accepts a