[FFmpeg-cvslog] doc: replace @pxref by @ref where appropriate

Diego Biurrun git at videolan.org
Sun Jul 10 04:33:43 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jul  8 15:34:56 2011 +0200| [4c98976124f611b1a475bccb1b5177ff536be79c] | committer: Diego Biurrun

doc: replace @pxref by @ref where appropriate

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

 doc/developer.texi |    4 ++--
 doc/filters.texi   |    8 +++-----
 doc/muxers.texi    |    4 ++--
 doc/texi2pod.pl    |    1 +
 4 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/doc/developer.texi b/doc/developer.texi
index 37b9f3e..cae4f3d 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -224,7 +224,7 @@ Note, some rules were borrowed from the MPlayer project.
 
 @section Submitting patches
 
-First, read the (@pxref{Coding Rules}) above if you did not yet, in particular
+First, read the @ref{Coding Rules} above if you did not yet, in particular
 the rules regarding patch submission.
 
 As stated already, please do not submit a patch which contains several
@@ -238,7 +238,7 @@ for us and greatly increases your chances of getting your patch applied.
 Use the patcheck tool of Libav to check your patch.
 The tool is located in the tools directory.
 
-Run the @pxref{Regression Tests} before submitting a patch in order to verify
+Run the @ref{Regression Tests} before submitting a patch in order to verify
 it does not cause unexpected problems.
 
 Patches should be posted as base64 encoded attachments (or any other
diff --git a/doc/filters.texi b/doc/filters.texi
index 9666f58..a8076b2 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -796,8 +796,7 @@ Erode an image by using a specific structuring element.
 This filter corresponds to the libopencv function @code{cvErode}.
 
 The filter accepts the parameters: @var{struct_el}:@var{nb_iterations},
-with the same meaning and use of those of the dilate filter
-(@pxref{dilate}).
+with the same syntax and semantics as the @ref{dilate} filter.
 
 @subsection smooth
 
@@ -1093,7 +1092,7 @@ setdar=16:9
 setdar=1.77777
 @end example
 
-See also the "setsar" filter documentation (@pxref{setsar}).
+See also the @ref{setsar} filter documentation.
 
 @section setpts
 
@@ -1547,8 +1546,7 @@ form @var{width}x at var{height} or a frame size abbreviation.
 the form @var{num}/@var{den} or a frame rate abbreviation.
 @var{src_name} is the name to the frei0r source to load. For more
 information regarding frei0r and how to set the parameters read the
-section "frei0r" (@pxref{frei0r}) in the description of the video
-filters.
+section @ref{frei0r} in the description of the video filters.
 
 Some examples follow:
 @example
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 74c014b..bcba77c 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -51,7 +51,7 @@ and the input video converted to MPEG-2 video, use the command:
 ffmpeg -i INPUT -acodec pcm_u8 -vcodec mpeg2video -f crc -
 @end example
 
-See also the @code{framecrc} muxer (@pxref{framecrc}).
+See also the @ref{framecrc} muxer.
 
 @anchor{framecrc}
 @section framecrc
@@ -88,7 +88,7 @@ MPEG-2 video, use the command:
 ffmpeg -i INPUT -acodec pcm_u8 -vcodec mpeg2video -f framecrc -
 @end example
 
-See also the @code{crc} muxer (@pxref{crc}).
+See also the @ref{crc} muxer.
 
 @section image2
 
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 84c36ff..0eb5e8d 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -352,6 +352,7 @@ sub postprocess
     s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g;
     s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g;
     s/;\s+\@pxref\{(?:[^\}]*)\}//g;
+    s/\@ref\{([^\}]*)\}/$1/g;
     s/\@noindent\s*//g;
     s/\@refill//g;
     s/\@gol//g;



More information about the ffmpeg-cvslog mailing list