From b29aea978e2d67b993083bbcef910b538102a716 Mon Sep 17 00:00:00 2001 From: "mark a. foltz" Date: Mon, 31 Oct 2022 10:38:26 -0700 Subject: [PATCH] Clarify handling of dupes. Reorder fields. --- index.bs | 3 ++- messages_appendix.cddl | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.bs b/index.bs index 0e7849a..391561b 100644 --- a/index.bs +++ b/index.bs @@ -1765,7 +1765,7 @@ following additional fields: The `transfer-function` field must be a valid [[MEDIA-CAPABILITIES#transferfunction|TransferFunction]] - and the `hdr-metadata` must be a valid + and the `hdr-metadata` field must be a valid [[MEDIA-CAPABILITIES#hdrmetadatatype|HdrMetadataType]], both defined in the [[!MEDIA-CAPABILITIES|Media Capabilities]] API. @@ -1774,6 +1774,7 @@ following additional fields: without any associated metadata. (This is the case, for example, with the "hlg" `transfer-function`.) + The media receiver should ignore duplicate entries in `hdr-formats.` If no `hdr-formats` are listed, then the media reciever cannot decode any HDR formats. diff --git a/messages_appendix.cddl b/messages_appendix.cddl index 5cbb49d..6a10aca 100644 --- a/messages_appendix.cddl +++ b/messages_appendix.cddl @@ -566,10 +566,10 @@ receive-video-capability = { ? 4: uint ; min-bit-rate ? 5: ratio ; aspect-ratio ? 6: [* string] ; color-gamuts - ? 7: [* video-hdr-format] ; hdr-formats - ? 8: [* video-resolution] ; native-resolutions - ? 9: bool ; supports-scaling - ? 10: bool ; supports-rotation + ? 7: [* video-resolution] ; native-resolutions + ? 8: bool ; supports-scaling + ? 9: bool ; supports-rotation + ? 10: [* video-hdr-format] ; hdr-formats } receive-data-capability = {