summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_drm.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-03-21 21:13:16 +0000
committerMark Thompson <sw@jkqxz.net>2018-03-22 23:18:53 +0000
commitf86e8c91d020d05c584d53d7033fe6d05a16aef1 (patch)
treeef53e3dc1b2b93017e45233af2d9f167ab573429 /libavutil/hwcontext_drm.h
parent6135c958cd3c8e503ebd59996b7b31b844ac9cb9 (diff)
downloadffmpeg-f86e8c91d020d05c584d53d7033fe6d05a16aef1.tar.gz
hwcontext_drm: Clarify value for unknown format modifiers
Diffstat (limited to 'libavutil/hwcontext_drm.h')
-rw-r--r--libavutil/hwcontext_drm.h3
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;