aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/time_internal.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2020-11-14 00:15:46 +0100
committerMark Thompson <sw@jkqxz.net>2021-01-13 23:07:36 +0000
commit03f4b203ba0ec58fc5c1ef8ee1fe740b8fcab9ab (patch)
tree964d4328c677356756be6b0e40a268dce94f4082 /libavutil/time_internal.h
parent06a8596825e069a2e26810be40871e7d98a00f67 (diff)
downloadffmpeg-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 'libavutil/time_internal.h')
0 files changed, 0 insertions, 0 deletions