[FFmpeg-cvslog] doc/texi2pod.pl: skip printing chapter names if they are disabled

Stefano Sabatini git at videolan.org
Wed Aug 28 23:16:20 CEST 2013


ffmpeg | branch: release/1.1 | Stefano Sabatini <stefasab at gmail.com> | Tue Mar 19 20:34:42 2013 +0100| [e4a49ae561cbd651fb3c1b23d5479de9ee6ead5f] | committer: Timothy Gu

doc/texi2pod.pl: skip printing chapter names if they are disabled
(cherry picked from commit c838701ce4515bd51f7827be0b20f256ba5c69f3)

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4a49ae561cbd651fb3c1b23d5479de9ee6ead5f
---

 doc/texi2pod.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 8790563..104b337 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -121,7 +121,7 @@ INF: while(<$inf>) {
         $chapters{$chapter_name} .= postprocess($chapter) if ($chapter_name);
 
         # start new chapter
-        $chapter_name = $1, push (@chapters_sequence, $chapter_name);
+        $chapter_name = $1, push (@chapters_sequence, $chapter_name) unless $skipping;
         $chapters{$chapter_name} = "" unless exists $chapters{$chapter_name};
         $chapter = "";
         $output = 1;



More information about the ffmpeg-cvslog mailing list