diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h index e0b3985b03d5b626a86ab4ec86d2aa37fca90f79..a2e5d9f632b2bbea209b5c0e1fcf49dde0e1c548 100644 --- a/source/Lib/CommonLib/TypeDef.h +++ b/source/Lib/CommonLib/TypeDef.h @@ -61,6 +61,8 @@ #define JVET_S0052_RM_SEPARATE_COLOUR_PLANE 1 // JVET-S0052: Remove separate colour plane coding from VVC version 1 +#define JVET_S0065_SPS_INFERENCE_RULE 1 // JVET_S0065_PROPOSAL1: Inference rule for sps_virtual_boundaries_present_flag + //########### place macros to be be kept below this line ############### #define JVET_S0257_DUMP_360SEI_MESSAGE 1 // Software support of 360 SEI messages diff --git a/source/Lib/DecoderLib/VLCReader.cpp b/source/Lib/DecoderLib/VLCReader.cpp index 292ae6e91adad6b6bf560140f0513d8abf8fc61f..2214f41df5c78e91bc7ae6127815d796c99924cd 100644 --- a/source/Lib/DecoderLib/VLCReader.cpp +++ b/source/Lib/DecoderLib/VLCReader.cpp @@ -1978,6 +1978,12 @@ void HLSyntaxReader::parseSPS(SPS* pcSPS) pcSPS->setNumHorVirtualBoundaries( 0 ); } } +#if JVET_S0065_SPS_INFERENCE_RULE + else + { + pcSPS->setVirtualBoundariesPresentFlag(false); + } +#endif if (pcSPS->getPtlDpbHrdParamsPresentFlag()) {