diff options
author | Dudemanguy <random342@airmail.cc> | 2022-05-30 09:19:59 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-05-30 19:51:46 +0000 |
commit | 0ec3bd6ba9838c7a1adcb52610dc4a014dc82fff (patch) | |
tree | 7739205c3e0dff1aec36119b86c98047d7dd71dd /wscript | |
parent | b1639ee561c7d62a8797bf8700bbec563e78d0c9 (diff) | |
download | mpv-0ec3bd6ba9838c7a1adcb52610dc4a014dc82fff.tar.bz2 mpv-0ec3bd6ba9838c7a1adcb52610dc4a014dc82fff.tar.xz |
wayland: use mp_tag_str not drm_format_string
So it turns out that mpv already has an mp_tag_str which makes a
readable string out of fourccs (drm formats are these).
drm_format_string, on the other hand, has a ton of baggage with having
to check different libdrm versions for certain headers, adding
compile-time defines (because there are no version defines in the libdrm
headers), etc. It's a lot simpler to just use what mpv already has and
it returns what you actually care about: i.e. is this format supported
or not. Fixes https://github.com/mpv-player/mpv-build/issues/184
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions