Skip to content
Snippets Groups Projects
Commit 672292ca authored by Ludovico de Nittis's avatar Ludovico de Nittis :palm_tree:
Browse files

Enumerate VDPAU drivers from LD_LIBRARY_PATH and capsule-capture-libs


VDPAU modules can be loaded in three different ways:
- Using VDPAU_DRIVER_PATH environment variable, if set:
    ${VDPAU_DRIVER_PATH}/libvdpau_${VDPAU_DRIVER}.so.1
- Using VDPAU_MODULEDIR that evaluates to something like:
    /usr/lib/${multiarch}/libvdpau_${VDPAU_DRIVER}.so.1
- dlopening the bare filename libvdpau_${VDPAU_DRIVER}.so

This commit tries to cover the third way that was still missing.

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 280e8937
No related branches found
No related tags found
1 merge request!119Enumerate VDPAU drivers from LD_LIBRARY_PATH and capsule-capture-libs
Pipeline #2937 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment