diff options
author | Bernhard Frauendienst <git@nospam.obeliks.de> | 2016-10-01 17:44:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-02 12:38:33 +0200 |
commit | 8d29d5b5d73801ec41c9d86d8079b0527818ea1d (patch) | |
tree | 3fa8c18ec16995bcd71036f2fbcd20b702441306 /stream/stream_dvd_common.c | |
parent | 39fc5e1deb0c5753e7123529e4dd5c750aed1e8d (diff) | |
download | mpv-8d29d5b5d73801ec41c9d86d8079b0527818ea1d.tar.bz2 mpv-8d29d5b5d73801ec41c9d86d8079b0527818ea1d.tar.xz |
vaapi: support drm devices when running in vaapi-copy mode
When the vaapi decoder is used in copy mode, it creates a dummy
display to render to. In theory, this should support hardware
decoding on on a separate GPU that is not actually connected to
any output (like an iGPU which supports more formats than the
external GPU to which the monitor is connected).
However, before this change, only X11 displays were supported as
dummy displays. This caused some graphics drivers (namely
intel-driver) to core dump when they were not actually used as X11
module.
This change introduces support for drm libav displays, which
allows vaapi-copy to run on such cards which are not actually
rendering the X11 output.
Diffstat (limited to 'stream/stream_dvd_common.c')
0 files changed, 0 insertions, 0 deletions