Commit c230fe6c authored by norvell's avatar norvell
Browse files

Add fix for non-diegetic panning flag encoding when extended metadata is not enabled

parent 0dfdd419
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -167,6 +167,7 @@

#define FIX_718_JBM_MD_UDPATE                           /* Fhg: fix issue #718, wrong setting of the update flag in the TD obj renderer in the JBM path */
#define FIX_719_CRASH_IN_CLEANUP                        /* VA: issue 719: fix Decoder crash after call to goto to cleanup */
#define FIX_746_NONDIEGETIC_MD                          /* Eri: Issue 746: The non-diegetic panning flag affects the encoder bitstream even if extended metadata is not enabled. Crashes the decoder.*/


/* ################## End BE DEVELOPMENT switches ######################### */
+4 −0
Original line number Diff line number Diff line
@@ -415,7 +415,11 @@ ivas_error ivas_ism_metadata_enc(
                    push_indice( hBstr, IND_ISM_NDP_FLAG, hIsmMeta[ch]->non_diegetic_flag, ISM_METADATA_IS_NDP_BITS );
                }

#ifdef FIX_746_NONDIEGETIC_MD
                if ( hIsmMeta[ch]->non_diegetic_flag && ism_extended_metadata_flag )
#else
                if ( hIsmMeta[ch]->non_diegetic_flag )
#endif
                {
                    /* Map azimuth to panning range [-90:90] */
                    if ( hIsmMetaData->azimuth > 90.0f )