From 2a79912ef154777f20575bcaa040e49eb2f661e6 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Sun, 8 Sep 2013 12:02:30 +0200 Subject: [PATCH] Manpage: Fix formatting (mostly for PDF output) --- DOCS/man/en/af.rst | 10 +++++----- DOCS/man/en/mpv.rst | 4 ++-- DOCS/man/en/options.rst | 11 ++++++++--- DOCS/man/en/vo.rst | 7 ++++--- 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/DOCS/man/en/af.rst b/DOCS/man/en/af.rst index 01efd4119d..a6ad32989c 100644 --- a/DOCS/man/en/af.rst +++ b/DOCS/man/en/af.rst @@ -313,12 +313,12 @@ Available filters are: channels 0 and 1 into output channel 2 (which could be sent to a subwoofer for example). - .. note:: + .. note:: - If you just want to force remixing to a certain output channel - layout, it is easier to use the ``force`` filter. For example, - ``mpv '--af=force=channels=5.1' '--channels=5.1'`` would always - force remixing audio to 5.1 and output it like this. + If you just want to force remixing to a certain output channel layout, + it is easier to use the ``force`` filter. For example, + ``mpv '--af=force=channels=5.1' '--channels=5.1'`` would always force + remixing audio to 5.1 and output it like this. ``sub[=fc:ch]`` Adds a subwoofer channel to the audio stream. The audio data used for diff --git a/DOCS/man/en/mpv.rst b/DOCS/man/en/mpv.rst index af905539f0..e78b850c1a 100644 --- a/DOCS/man/en/mpv.rst +++ b/DOCS/man/en/mpv.rst @@ -12,7 +12,7 @@ a movie player ############## :Author: wm4 -:Date: 2013-07-08 +:Date: 2013-09-08 :Copyright: GPLv3 :Version: git :Manual section: 1 @@ -408,7 +408,7 @@ profile name ``default`` to continue with normal options. :: [vo.vdpau] - # Use hardware decoding (this might break playback of some h264 files) + # Use hardware decoding (might break playback of some h264 files) hwdec=vdpau [protocol.dvd] diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 767ba93585..e9a6769261 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -667,8 +667,10 @@ .. admonition:: Example - - ``mpv sample-720x576.yuv --demuxer=rawvideo --demuxer-rawvideo=w=720:h=576`` - Play a raw YUV sample. + Play a raw YUV sample:: + + mpv sample-720x576.yuv --demuxer=rawvideo \ + --demuxer-rawvideo=w=720:h=576 ``--demuxer-rawvideo-format=`` Colorspace (fourcc) in hex or string for ``--demuxer=rawvideo`` @@ -1027,7 +1029,10 @@ .. admonition:: Example - ``mpv --http-header-fields='Field1: value1','Field2: value2' http://localhost:1234`` + :: + + mpv --http-header-fields='Field1: value1','Field2: value2' \ + http://localhost:1234 Will generate HTTP request:: diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst index 42078dd6f8..16c3505e47 100644 --- a/DOCS/man/en/vo.rst +++ b/DOCS/man/en/vo.rst @@ -265,7 +265,9 @@ Available video output drivers are: There are some more filters. For a complete list, pass ``help`` as - value, e.g.: ``mpv --vo=opengl:lscale=help`` + value, e.g.:: + + mpv --vo=opengl:lscale=help ``lparam1=`` Set filter parameters. Ignored if the filter is not tunable. These are @@ -609,8 +611,7 @@ Available video output drivers are: The following options are only useful if writing your own fragment programs. ``customprog=`` - Load a custom fragment program from ````. See - ``TOOLS/edgedect.fp`` for an example. + Load a custom fragment program from ````. ``customtex=`` Load a custom "gamma ramp" texture from ````. This can be used in combination with ``yuv=4`` or with the ``customprog`` option.