summaryrefslogtreecommitdiffstats
path: root/demux/timeline.h
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2019-10-02 11:13:21 -0700
committerNiklas Haas <github-c6e1c8@haasn.xyz>2020-07-14 07:32:04 +0200
commitfba1c681b89502586a5ad467b729ed3878cacd3a (patch)
treec0d839a85e151c956a6f386b4e1055c84523efcc /demux/timeline.h
parent22e7c700dd86654d132cf3a4bc4b57dbd7da27a7 (diff)
downloadmpv-fba1c681b89502586a5ad467b729ed3878cacd3a.tar.bz2
mpv-fba1c681b89502586a5ad467b729ed3878cacd3a.tar.xz
vo_gpu: hwdec_vaapi: handle lack of object size with AMD drivers
It turns out that the AMD driver doesn't bother to set the size field in the descriptor for an exported VA surface. I guess they assume the caller can always use lseek() and don't bother. So, we need to use lseek() in these situations. Modified-by: Niklas Haas <git@haasn.xyz> Guarded this behind PL_API_VER >= 88 to prevent it from exploding on older libplacebo versions, where vaapi support does not yet work properly on AMD due to lack of DRM modifiers.
Diffstat (limited to 'demux/timeline.h')
0 files changed, 0 insertions, 0 deletions