st/omx: add headless support
authorLeo Liu <leo.liu@amd.com>
Wed, 4 Nov 2015 21:38:28 +0000 (16:38 -0500)
committerLeo Liu <leo.liu@amd.com>
Sun, 8 Nov 2015 23:15:57 +0000 (18:15 -0500)
commit519502d08fe5fefebd618e191eec4462dae3bd9a
tree5cbfdd328b4eccca9775a653ad239b6a4eaf2f6f
parent25526d77b1b69822145bcf11411e9398426e2984
st/omx: add headless support

This will allow dec/enc/transcode without X

v2:  use env override even with X,
     use loader_open_device instead of open
v3:  clean up

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/omx/entrypoint.c