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

Stefano Sabatini git at videolan.org
Thu Aug 29 00:22:07 CEST 2013


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

 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