diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2020-11-14 00:15:46 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2021-01-13 23:07:36 +0000 |
commit | 03f4b203ba0ec58fc5c1ef8ee1fe740b8fcab9ab (patch) | |
tree | 964d4328c677356756be6b0e40a268dce94f4082 /libavdevice/alldevices.c | |
parent | 06a8596825e069a2e26810be40871e7d98a00f67 (diff) | |
download | ffmpeg-03f4b203ba0ec58fc5c1ef8ee1fe740b8fcab9ab.tar.gz |
kmsgrab: Use invalid modifier if modifiers weren't used.
The kernel defaults to initializing the field to 0 when modifiers
are not used and this happens to be linear. If we end up actually
passing the modifier to a driver, tiling issues happen.
So if the kernel doesn't return a modifier set it explicitly to
INVALID. That way later processing knows there is no explicit
modifier.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavdevice/alldevices.c')
0 files changed, 0 insertions, 0 deletions