git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6135c95
)
hwcontext_drm: Clarify value for unknown format modifiers
author
Mark Thompson
<sw@jkqxz.net>
Wed, 21 Mar 2018 21:13:16 +0000
(21:13 +0000)
committer
Mark Thompson
<sw@jkqxz.net>
Thu, 22 Mar 2018 23:18:53 +0000
(23:18 +0000)
libavutil/hwcontext_drm.h
patch
|
blob
|
history
diff --git
a/libavutil/hwcontext_drm.h
b/libavutil/hwcontext_drm.h
index
2e22545
..
42709f2
100644
(file)
--- 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;