doc: Replace some @file tags by more suitable markup.

This commit is contained in:
Diego Biurrun 2012-05-16 19:24:39 +02:00
parent 1afc278994
commit 90c9edba58
3 changed files with 11 additions and 10 deletions

View File

@ -13,7 +13,8 @@
Libav can be hooked up with a number of external libraries to add support
for more formats. None of them are used by default, their use has to be
explicitly requested by passing the appropriate flags to @file{./configure}.
explicitly requested by passing the appropriate flags to
@command{./configure}.
@section OpenCORE and VisualOn libraries

View File

@ -27,11 +27,11 @@ to configure.
@section BSD
BSD make will not build Libav, you need to install and use GNU Make
(@file{gmake}).
(@command{gmake}).
@section (Open)Solaris
GNU Make is required to build Libav, so you have to invoke (@file{gmake}),
GNU Make is required to build Libav, so you have to invoke (@command{gmake}),
standard Solaris Make will not work. When building with a non-c99 front-end
(gcc, generic suncc) add either @code{--extra-libs=/usr/lib/values-xpg6.o}
or @code{--extra-libs=/usr/lib/64/values-xpg6.o} to the configure options
@ -241,7 +241,7 @@ To create import libraries that work with the @code{/OPT:REF} option
@enumerate
@item Open @file{Visual Studio 2005 Command Prompt}.
@item Open @emph{Visual Studio 2005 Command Prompt}.
Alternatively, in a normal command line prompt, call @file{vcvars32.bat}
which sets up the environment variables for the Visual C++ tools
@ -251,7 +251,7 @@ which sets up the environment variables for the Visual C++ tools
@item Enter the @file{bin} directory where the created LIB and DLL files
are stored.
@item Generate new import libraries with @file{lib.exe}:
@item Generate new import libraries with @command{lib.exe}:
@example
lib /machine:i386 /def:..\lib\foo-version.def /out:foo.lib

View File

@ -36,7 +36,7 @@ resource to be concatenated, each one possibly specifying a distinct
protocol.
For example to read a sequence of files @file{split1.mpeg},
@file{split2.mpeg}, @file{split3.mpeg} with @file{avplay} use the
@file{split2.mpeg}, @file{split3.mpeg} with @command{avplay} use the
command:
@example
avplay concat:split1.mpeg\|split2.mpeg\|split3.mpeg
@ -187,7 +187,7 @@ application specified in @var{app}, may be prefixed by "mp4:".
@end table
For example to read with @file{avplay} a multimedia resource named
For example to read with @command{avplay} a multimedia resource named
"sample" from the application "vod" from an RTMP server "myserver":
@example
avplay rtmp://myserver/vod/sample
@ -228,7 +228,7 @@ For example, to stream a file in real-time to an RTMP server using
avconv -re -i myfile -f flv rtmp://myserver/live/mystream
@end example
To play the same stream using @file{avplay}:
To play the same stream using @command{avplay}:
@example
avplay "rtmp://myserver/live/mystream live=1"
@end example
@ -253,7 +253,7 @@ The required syntax for a RTSP url is:
rtsp://@var{hostname}[:@var{port}]/@var{path}
@end example
The following options (set on the @command{avconv}/@file{avplay} command
The following options (set on the @command{avconv}/@command{avplay} command
line, or set in code via @code{AVOption}s or in @code{avformat_open_input}),
are supported:
@ -292,7 +292,7 @@ When receiving data over UDP, the demuxer tries to reorder received packets
can be disabled by setting the maximum demuxing delay to zero (via
the @code{max_delay} field of AVFormatContext).
When watching multi-bitrate Real-RTSP streams with @file{avplay}, the
When watching multi-bitrate Real-RTSP streams with @command{avplay}, the
streams to display can be chosen with @code{-vst} @var{n} and
@code{-ast} @var{n} for video and audio respectively, and can be switched
on the fly by pressing @code{v} and @code{a}.