Browse Source

hwcontext_drm: Clarify value for unknown format modifiers

tags/n4.0
Mark Thompson 7 years ago
parent
commit
f86e8c91d0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavutil/hwcontext_drm.h

+ 3
- 0
libavutil/hwcontext_drm.h 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;


Loading…
Cancel
Save