hwcontext_drm: Clarify value for unknown format modifiers

This commit is contained in:
Mark Thompson 2018-03-21 21:13:16 +00:00
parent 6135c958cd
commit f86e8c91d0

View File

@ -58,6 +58,9 @@ typedef struct AVDRMObjectDescriptor {
size_t size; size_t size;
/** /**
* Format modifier applied to the object (DRM_FORMAT_MOD_*). * 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; uint64_t format_modifier;
} AVDRMObjectDescriptor; } AVDRMObjectDescriptor;