1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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;