diff --git a/src/specs/av1_hdr10plus/av1_hdr10plus.cpp b/src/specs/av1_hdr10plus/av1_hdr10plus.cpp index d86fc18..eea03f2 100644 --- a/src/specs/av1_hdr10plus/av1_hdr10plus.cpp +++ b/src/specs/av1_hdr10plus/av1_hdr10plus.cpp @@ -461,19 +461,19 @@ const SpecDesc specAv1Hdr10plus = seenFrameHeader = true; if(obu.isHdr10p && seenFrameHeader) - out->error("The HR10+ metadata OBU shall precede the frame header (Temporal Unit #%d, Frame #%d)", tu, frame); + out->error("The HDR10+ metadata OBU shall precede the frame header (Temporal Unit #%d, Frame #%d)", tu, frame); if(obu.type == OBU_FRAME) seenFrame = true; if(obu.isHdr10p && seenFrame) - out->error("The HR10+ metadata OBU shall be located after the last OBU of the previous frame if any (Temporal Unit #%d, Frame #%d)", tu, frame); + out->error("The HDR10+ metadata OBU shall be located after the last OBU of the previous frame if any (Temporal Unit #%d, Frame #%d)", tu, frame); if(obu.type == OBU_SEQUENCE_HEADER) seenSeqHdr = true; if(obu.isHdr10p && hasSeqHdr && !seenSeqHdr) - out->error("The HR10+ metadata OBU shall be located after the Sequence Header if any (Temporal Unit #%d, Frame #%d)", tu, frame); + out->error("The HDR10+ metadata OBU shall be located after the Sequence Header if any (Temporal Unit #%d, Frame #%d)", tu, frame); } } } diff --git a/src/utils/spec_utils.cpp b/src/utils/spec_utils.cpp index 335adb9..e7f316a 100644 --- a/src/utils/spec_utils.cpp +++ b/src/utils/spec_utils.cpp @@ -25,8 +25,10 @@ SpecDesc const* specFind(const char* name) return spec; fprintf(stderr, "Spec '%s' not found: possible values are:", name); + for(auto& spec : g_allSpecs()) fprintf(stderr, " '%s'", spec->name); + fprintf(stderr, ".\n"); fflush(stderr); exit(1); diff --git a/tests/av1hdr10plus/invalid_metadata_position_frame_header.ref b/tests/av1hdr10plus/invalid_metadata_position_frame_header.ref index eba4c8f..a7cd984 100644 --- a/tests/av1hdr10plus/invalid_metadata_position_frame_header.ref +++ b/tests/av1hdr10plus/invalid_metadata_position_frame_header.ref @@ -6,7 +6,7 @@ Specification description: HDR10+ AV1 Metadata Handling Specification, 7 Decembe https://github.com/AOMediaCodec/av1-hdr10plus/commit/63bacd21bc5f75ea6094fc11a03f0e743366fbdf https://aomediacodec.github.io/av1-hdr10plus/ -[av1hdr10plus][Rule #9] Error: The HR10+ metadata OBU shall be located after the last OBU of the previous frame if any (Temporal Unit #0, Frame #0) +[av1hdr10plus][Rule #9] Error: The HDR10+ metadata OBU shall be located after the last OBU of the previous frame if any (Temporal Unit #0, Frame #0) ======================================== [av1hdr10plus] 1 error(s), 0 warning(s). diff --git a/tests/av1hdr10plus/invalid_metadata_position_frame_inter.ref b/tests/av1hdr10plus/invalid_metadata_position_frame_inter.ref index eba4c8f..a7cd984 100644 --- a/tests/av1hdr10plus/invalid_metadata_position_frame_inter.ref +++ b/tests/av1hdr10plus/invalid_metadata_position_frame_inter.ref @@ -6,7 +6,7 @@ Specification description: HDR10+ AV1 Metadata Handling Specification, 7 Decembe https://github.com/AOMediaCodec/av1-hdr10plus/commit/63bacd21bc5f75ea6094fc11a03f0e743366fbdf https://aomediacodec.github.io/av1-hdr10plus/ -[av1hdr10plus][Rule #9] Error: The HR10+ metadata OBU shall be located after the last OBU of the previous frame if any (Temporal Unit #0, Frame #0) +[av1hdr10plus][Rule #9] Error: The HDR10+ metadata OBU shall be located after the last OBU of the previous frame if any (Temporal Unit #0, Frame #0) ======================================== [av1hdr10plus] 1 error(s), 0 warning(s). diff --git a/tests/av1hdr10plus/invalid_metadata_position_seqhdr.ref b/tests/av1hdr10plus/invalid_metadata_position_seqhdr.ref index 74f6bef..1a774a0 100644 --- a/tests/av1hdr10plus/invalid_metadata_position_seqhdr.ref +++ b/tests/av1hdr10plus/invalid_metadata_position_seqhdr.ref @@ -6,7 +6,7 @@ Specification description: HDR10+ AV1 Metadata Handling Specification, 7 Decembe https://github.com/AOMediaCodec/av1-hdr10plus/commit/63bacd21bc5f75ea6094fc11a03f0e743366fbdf https://aomediacodec.github.io/av1-hdr10plus/ -[av1hdr10plus][Rule #9] Error: The HR10+ metadata OBU shall be located after the Sequence Header if any (Temporal Unit #0, Frame #0) +[av1hdr10plus][Rule #9] Error: The HDR10+ metadata OBU shall be located after the Sequence Header if any (Temporal Unit #0, Frame #0) ======================================== [av1hdr10plus] 1 error(s), 0 warning(s).