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

Stefano Sabatini git at videolan.org
Sat Mar 30 16:59:21 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Mar 19 20:34:42 2013 +0100| [c838701ce4515bd51f7827be0b20f256ba5c69f3] | committer: Stefano Sabatini

doc/texi2pod.pl: skip printing chapter names if they are disabled

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

 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