Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ra_wldambuf: don't unconditionally filter out non-planar formats
4d09cde added this behavior and made the format filtering more aggressive, but it's over correcting. The misunderstanding on my part is that the problem was with modifiers not with formats. There is hardware that do not have any valid modifiers which means certain formats cannot possibly work correctly with vo_dmabuf_wayland (broken colors etc.). Formats on the primary plane do not require modifiers so if it happens to be a planar format, we can accept it and possibly use mpv's autoconverter. If we do get a valid format + modifier pair from the compositor, then we should always accept it regardless if it is planar or not.
- Loading branch information