diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h index c8f5893426535343fb868ad7ca42b71404f9ad87..5df056cdbe8fee8a471ac75a34fbd490de82be9f 100644 --- a/source/Lib/CommonLib/TypeDef.h +++ b/source/Lib/CommonLib/TypeDef.h @@ -63,6 +63,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 2c505215c43162a02f23ba2638b1fd63c097715d..133e35b68b3f9f21a331661aa836a0af6c1a83b9 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()) {