README.rst: Use code directive for all code examples
Most of the code examples in README.rst use the code directive, but some use literal blocks or just quoted paragraphs. Use the code directive for all code for consistency. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
e25003e78b
commit
74c5db6fd4
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,7 @@ Getting Started
|
||||||
|
|
||||||
To fetch the sources, build and install:
|
To fetch the sources, build and install:
|
||||||
|
|
||||||
::
|
.. code::
|
||||||
|
|
||||||
git clone https://git.libcamera.org/libcamera/libcamera.git
|
git clone https://git.libcamera.org/libcamera/libcamera.git
|
||||||
cd libcamera
|
cd libcamera
|
||||||
|
@ -120,6 +120,8 @@ Using GStreamer plugin
|
||||||
To use GStreamer plugin from source tree, set the following environment so that
|
To use GStreamer plugin from source tree, set the following environment so that
|
||||||
GStreamer can find it. This isn't necessary when libcamera is installed.
|
GStreamer can find it. This isn't necessary when libcamera is installed.
|
||||||
|
|
||||||
|
.. code::
|
||||||
|
|
||||||
export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer
|
export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer
|
||||||
|
|
||||||
The debugging tool ``gst-launch-1.0`` can be used to construct a pipeline and
|
The debugging tool ``gst-launch-1.0`` can be used to construct a pipeline and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue