From 2e1f69898b7842c62471dec854dd4accce37e425 Mon Sep 17 00:00:00 2001 From: Víctor Manuel Jáquez Leal Date: Thu, 27 Oct 2016 12:53:54 +0200 Subject: docs: document environment variables https://bugzilla.gnome.org/show_bug.cgi?id=773544 --- docs/plugins/Makefile.am | 2 +- docs/plugins/gstreamer-vaapi-plugins-docs.xml.in | 5 ++ docs/plugins/running.xml | 68 ++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 docs/plugins/running.xml (limited to 'docs') diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index 86ab1b46..7701535c 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -61,7 +61,7 @@ EXAMPLE_CFILES = HTML_IMAGES = # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). -content_files = +content_files = running.xml # Other files to distribute. extra_files = diff --git a/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in b/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in index 5eec5ca8..37351d96 100644 --- a/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in +++ b/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in @@ -9,6 +9,11 @@ GStreamer VA-API Plugins @GST_API_VERSION@ Plugins Reference Manual + + gstremaer-vaapi Overview + + + gstreamer-vaapi Elements diff --git a/docs/plugins/running.xml b/docs/plugins/running.xml new file mode 100644 index 00000000..f7d98cb0 --- /dev/null +++ b/docs/plugins/running.xml @@ -0,0 +1,68 @@ + + +%version-entities; + +]> + + +Running GStreamer VAAPI Applications + + + +Running GStreamer VAAPI Applications + +How to run GStreamer application with VAAPI elements. + + + + +Running GStreamer VAAPI Applications + + +Environment variables + + +GStreamer-VAAPI inspects a few of environment variables to define it usage. + + + + <envar>GST_VAAPI_ALL_DRIVERS</envar> + + +This environment variable can be set, independently of its value, to disable +the drivers white list. By default only intel and mesa va drivers are loaded +if they are available. The rest are ignored. With this environment variable +defined, all the available va drivers are loaded, even if they are deprecated. + + + + + + <envar>LIBVA_DRIVER_NAME</envar> + + +This environment variable can be set with the drivers name to load. For +example, intel's driver is i915, meanwhile mesa is +gallium. + + + + + + <envar>LIBVA_DRIVERS_PATH</envar> + + +This environment variable can be set to a colon-separated list of paths (or a +semicolon-separated list on Windows). libva will scan these paths for va +drivers. + + + + + + + + + -- cgit v1.2.3