diff options
author | Philip Langdale <philipl@overt.org> | 2022-07-31 12:59:15 -0700 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-08-03 16:56:17 -0700 |
commit | 64f4249604a99f19edd45ee1412a689259c685a6 (patch) | |
tree | 4c64dfa596e7ea8d85aa031f7bd959dc2e29ec0c /player/audio.c | |
parent | e9e50595895f3b467f36de2babdfdd8f3ba85452 (diff) | |
download | mpv-64f4249604a99f19edd45ee1412a689259c685a6.tar.bz2 mpv-64f4249604a99f19edd45ee1412a689259c685a6.tar.xz |
hwdec/dmabuf_interop: use AVDRMFrameDescriptor to describe dmabufs
Annoyingly, libva and libdrm use different structs to describe dmabufs
and if we are going to support drmprime, we must pick one format and do
some shuffling in the other case.
I've decided to use AVDRMFrameDescriptor as our internal format as this
removes the libva dependency from dmabuf_interop. That means that the
future drmprime hwdec will be able to populate it directly and the
existing hwdec_vaapi needs to copy the struct members around, but
that's cheap and not a concern.
Diffstat (limited to 'player/audio.c')
0 files changed, 0 insertions, 0 deletions