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
1 changed files with 3 additions and 0 deletions

View File

@ -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;