diff options
author | Philip Langdale <philipl@overt.org> | 2023-10-15 12:41:26 -0700 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2023-10-16 20:15:09 -0700 |
commit | 71cf360e33e8347d38079c99c90827d95c8d9cda (patch) | |
tree | af1c0508cf3b30e7e3a7d2f8e272c1e55bd5610f /osdep/terminal.h | |
parent | ad0017f8b9f414675074019dd7c1adcae6ad886a (diff) | |
download | mpv-71cf360e33e8347d38079c99c90827d95c8d9cda.tar.bz2 mpv-71cf360e33e8347d38079c99c90827d95c8d9cda.tar.xz |
hwtransfer: handle hwcontexts that don't implement frame constraints
Some ffmpeg hwcontexts do not implement frame constraints. That means
they cannot report which formats are support for given configurations.
My previous changes to make hwupload more capable relies on the
constraints to be provided to accurately describe what combinations are
supported, so we will currently see a bunch of errors failing to
configure the hwupload filter on platforms such as v4l2 SoCs with
drmprime. This doesn't break playback, but it's confusing.
To bridge the gap, this change uses the static format metadata that we
include for hwdecs to build a fake constraints struct to keep all the
other code working.
Diffstat (limited to 'osdep/terminal.h')
0 files changed, 0 insertions, 0 deletions