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

Stefano Sabatini git at videolan.org
Wed Aug 28 01:42:04 CEST 2013


ffmpeg | branch: release/0.11 | Stefano Sabatini <stefasab at gmail.com> | Tue Mar 19 20:34:42 2013 +0100| [4f74cb93346589b0d0364d4289c45e6ae33423b5] | 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=4f74cb93346589b0d0364d4289c45e6ae33423b5
---

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

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 697576c..610f349 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