diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-03-21 21:13:16 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-03-22 23:18:53 +0000 |
commit | f86e8c91d020d05c584d53d7033fe6d05a16aef1 (patch) | |
tree | ef53e3dc1b2b93017e45233af2d9f167ab573429 /libavutil/hwcontext_drm.h | |
parent | 6135c958cd3c8e503ebd59996b7b31b844ac9cb9 (diff) | |
download | ffmpeg-f86e8c91d020d05c584d53d7033fe6d05a16aef1.tar.gz |
hwcontext_drm: Clarify value for unknown format modifiers
Diffstat (limited to 'libavutil/hwcontext_drm.h')
-rw-r--r-- | libavutil/hwcontext_drm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/hwcontext_drm.h b/libavutil/hwcontext_drm.h index 2e225451e1..42709f215e 100644 --- a/libavutil/hwcontext_drm.h +++ b/libavutil/hwcontext_drm.h @@ -58,6 +58,9 @@ typedef struct AVDRMObjectDescriptor { size_t size; /** * Format modifier applied to the object (DRM_FORMAT_MOD_*). + * + * If the format modifier is unknown then this should be set to + * DRM_FORMAT_MOD_INVALID. */ uint64_t format_modifier; } AVDRMObjectDescriptor; |