hwcontext_vaapi: Try to support the VDPAU wrapper

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 14 June 2017 17:23 EDT

The driver is somewhat bitrotten (not updated for years) but is still usable for decoding with this change. To support it, this adds a new driver quirk to indicate no support at all for surface attributes.

Based on a patch by wm4.

(cherry picked from commit e791b915c774408fbc0ec9e7270b021899e08ccc)

f2e4fb6 hwcontext_vaapi: Try to support the VDPAU wrapper
libavutil/hwcontext_vaapi.c | 79 ++++++++++++++++++++++++++-------------------
libavutil/hwcontext_vaapi.h | 7 ++++
2 files changed, 52 insertions(+), 34 deletions(-)

  • Share