[FFmpeg-cvslog] hwcontext_drm: Clarify value for unknown format modifiers

Mark Thompson git at videolan.org
Fri Mar 23 01:51:10 EET 2018


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Wed Mar 21 21:13:16 2018 +0000| [f86e8c91d020d05c584d53d7033fe6d05a16aef1] | committer: Mark Thompson

hwcontext_drm: Clarify value for unknown format modifiers

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f86e8c91d020d05c584d53d7033fe6d05a16aef1
---

 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;



More information about the ffmpeg-cvslog mailing list