---
This will allow users such as EGL or Vulkan to detect whether the format
modifier has actually been set or not.
libavutil/hwcontext_drm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavutil/hwcontext_drm.h b/libavutil/hwcontext_drm.h
index 2e225451e1..42709f215e 100644
--- 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;
--
2.16.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel