[FFmpeg-devel] [PATCH 1/2] doc: set documentencoding on toplevel texi files.

Nicolas George george at nsup.org
Mon Feb 9 16:32:10 CET 2015


Fix double UTF-8 encoding on output files.
makeinfo / texi2any does not seem to provide a way of setting
it globally for toplevel files.

Signed-off-by: Nicolas George <george at nsup.org>
---
 doc/developer.texi                | 1 +
 doc/faq.texi                      | 1 +
 doc/fate.texi                     | 1 +
 doc/ffmpeg-bitstream-filters.texi | 1 +
 doc/ffmpeg-codecs.texi            | 1 +
 doc/ffmpeg-devices.texi           | 1 +
 doc/ffmpeg-filters.texi           | 1 +
 doc/ffmpeg-formats.texi           | 1 +
 doc/ffmpeg-protocols.texi         | 1 +
 doc/ffmpeg-resampler.texi         | 1 +
 doc/ffmpeg-scaler.texi            | 1 +
 doc/ffmpeg-utils.texi             | 1 +
 doc/ffmpeg.texi                   | 1 +
 doc/ffplay.texi                   | 1 +
 doc/ffprobe.texi                  | 1 +
 doc/ffserver.texi                 | 1 +
 doc/general.texi                  | 1 +
 doc/git-howto.texi                | 1 +
 doc/libavcodec.texi               | 1 +
 doc/libavdevice.texi              | 1 +
 doc/libavfilter.texi              | 1 +
 doc/libavformat.texi              | 1 +
 doc/libavutil.texi                | 1 +
 doc/libswresample.texi            | 1 +
 doc/libswscale.texi               | 1 +
 doc/nut.texi                      | 1 +
 doc/platform.texi                 | 1 +
 27 files changed, 27 insertions(+)


The issue can currently be observed there:

http://ffmpeg.org/faq.html#Why-does-FFmpeg-not-see-the-subtitles-in-my-VOB-file_003f

Look at "default ~5 Mo" and "5,000,000 µs = 5 s".


diff --git a/doc/developer.texi b/doc/developer.texi
index f1351a5..a5e9c99 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Developer Documentation
 @titlepage
diff --git a/doc/faq.texi b/doc/faq.texi
index 3d94d4d..494da86 100644
--- a/doc/faq.texi
+++ b/doc/faq.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg FAQ
 @titlepage
diff --git a/doc/fate.texi b/doc/fate.texi
index 4e5cbd7..73c603c 100644
--- a/doc/fate.texi
+++ b/doc/fate.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Automated Testing Environment
 @titlepage
diff --git a/doc/ffmpeg-bitstream-filters.texi b/doc/ffmpeg-bitstream-filters.texi
index e33e005..bbde257 100644
--- a/doc/ffmpeg-bitstream-filters.texi
+++ b/doc/ffmpeg-bitstream-filters.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Bitstream Filters Documentation
 @titlepage
diff --git a/doc/ffmpeg-codecs.texi b/doc/ffmpeg-codecs.texi
index 6f8f5a3..7df4391 100644
--- a/doc/ffmpeg-codecs.texi
+++ b/doc/ffmpeg-codecs.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Codecs Documentation
 @titlepage
diff --git a/doc/ffmpeg-devices.texi b/doc/ffmpeg-devices.texi
index b44bd72..721c0df 100644
--- a/doc/ffmpeg-devices.texi
+++ b/doc/ffmpeg-devices.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Devices Documentation
 @titlepage
diff --git a/doc/ffmpeg-filters.texi b/doc/ffmpeg-filters.texi
index bb920ce..b643f2c 100644
--- a/doc/ffmpeg-filters.texi
+++ b/doc/ffmpeg-filters.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Filters Documentation
 @titlepage
diff --git a/doc/ffmpeg-formats.texi b/doc/ffmpeg-formats.texi
index e205caa..d916ee8 100644
--- a/doc/ffmpeg-formats.texi
+++ b/doc/ffmpeg-formats.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Formats Documentation
 @titlepage
diff --git a/doc/ffmpeg-protocols.texi b/doc/ffmpeg-protocols.texi
index d992e75..f3a09f6 100644
--- a/doc/ffmpeg-protocols.texi
+++ b/doc/ffmpeg-protocols.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Protocols Documentation
 @titlepage
diff --git a/doc/ffmpeg-resampler.texi b/doc/ffmpeg-resampler.texi
index 5bef789..be3784f 100644
--- a/doc/ffmpeg-resampler.texi
+++ b/doc/ffmpeg-resampler.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Resampler Documentation
 @titlepage
diff --git a/doc/ffmpeg-scaler.texi b/doc/ffmpeg-scaler.texi
index c4ddc09..9ab12a1 100644
--- a/doc/ffmpeg-scaler.texi
+++ b/doc/ffmpeg-scaler.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Scaler Documentation
 @titlepage
diff --git a/doc/ffmpeg-utils.texi b/doc/ffmpeg-utils.texi
index 581e2ea..e39cfa8 100644
--- a/doc/ffmpeg-utils.texi
+++ b/doc/ffmpeg-utils.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle FFmpeg Utilities Documentation
 @titlepage
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 396c623..d750756 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle ffmpeg Documentation
 @titlepage
diff --git a/doc/ffplay.texi b/doc/ffplay.texi
index 45731a2..d5397a9 100644
--- a/doc/ffplay.texi
+++ b/doc/ffplay.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle ffplay Documentation
 @titlepage
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
index 5c90470..0fdf45e 100644
--- a/doc/ffprobe.texi
+++ b/doc/ffprobe.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle ffprobe Documentation
 @titlepage
diff --git a/doc/ffserver.texi b/doc/ffserver.texi
index 83b6520..57c95fb 100644
--- a/doc/ffserver.texi
+++ b/doc/ffserver.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle ffserver Documentation
 @titlepage
diff --git a/doc/general.texi b/doc/general.texi
index 49f5ade..197a800 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle General Documentation
 @titlepage
diff --git a/doc/git-howto.texi b/doc/git-howto.texi
index 750662a..8ece341 100644
--- a/doc/git-howto.texi
+++ b/doc/git-howto.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Using git to develop FFmpeg
 
diff --git a/doc/libavcodec.texi b/doc/libavcodec.texi
index 618f9f6..87b90db 100644
--- a/doc/libavcodec.texi
+++ b/doc/libavcodec.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Libavcodec Documentation
 @titlepage
diff --git a/doc/libavdevice.texi b/doc/libavdevice.texi
index d5f790b..9b10282 100644
--- a/doc/libavdevice.texi
+++ b/doc/libavdevice.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Libavdevice Documentation
 @titlepage
diff --git a/doc/libavfilter.texi b/doc/libavfilter.texi
index 4f82944..52e0753 100644
--- a/doc/libavfilter.texi
+++ b/doc/libavfilter.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Libavfilter Documentation
 @titlepage
diff --git a/doc/libavformat.texi b/doc/libavformat.texi
index 85e49cb..d505d64 100644
--- a/doc/libavformat.texi
+++ b/doc/libavformat.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Libavformat Documentation
 @titlepage
diff --git a/doc/libavutil.texi b/doc/libavutil.texi
index 5ec7e84..7a1c332 100644
--- a/doc/libavutil.texi
+++ b/doc/libavutil.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Libavutil Documentation
 @titlepage
diff --git a/doc/libswresample.texi b/doc/libswresample.texi
index 383e537..bb57278 100644
--- a/doc/libswresample.texi
+++ b/doc/libswresample.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Libswresample Documentation
 @titlepage
diff --git a/doc/libswscale.texi b/doc/libswscale.texi
index 818e988..757fd24 100644
--- a/doc/libswscale.texi
+++ b/doc/libswscale.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Libswscale Documentation
 @titlepage
diff --git a/doc/nut.texi b/doc/nut.texi
index fee12da..a02f86a 100644
--- a/doc/nut.texi
+++ b/doc/nut.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle NUT
 
diff --git a/doc/platform.texi b/doc/platform.texi
index a852170..73b73fb 100644
--- a/doc/platform.texi
+++ b/doc/platform.texi
@@ -1,4 +1,5 @@
 \input texinfo @c -*- texinfo -*-
+ at documentencoding UTF-8
 
 @settitle Platform Specific Information
 @titlepage
-- 
2.1.4



More information about the ffmpeg-devel mailing list