[FFmpeg-devel] [PATCH] Replace 'FontName' with 'Fontname' in the documentation.

Joe Ratterman jratt0 at gmail.com
Thu May 28 20:31:48 EEST 2020


This is the only use of 'FontName' with that capitalization, as both
source-code and tests use 'Fontname'. Having consistent capitalization
makes it easier to find the relevant source from the docs.

See these examples for other uses:
    libavcodec/ass_split.c:68
    tests/ref/fate/sub-cc:9
---
 doc/filters.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 85a511b205..84afa1fff3 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -17943,7 +17943,7 @@ subtitles=video.mkv:si=1
 To make the subtitles stream from @file{sub.srt} appear in 80% transparent blue
 @code{DejaVu Serif}, use:
 @example
-subtitles=sub.srt:force_style='FontName=DejaVu Serif,PrimaryColour=&HCCFF0000'
+subtitles=sub.srt:force_style='Fontname=DejaVu Serif,PrimaryColour=&HCCFF0000'
 @end example
 
 @section super2xsai
-- 
2.21.0



More information about the ffmpeg-devel mailing list