Commit b0e3fcc7 authored by vaclav's avatar vaclav
Browse files

add initialization of "orientation_tracking" parameter

parent ed5264a4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1439,7 +1439,6 @@ static bool parseOrientationTracking(
#endif
)
{

    to_upper( value );

    if ( strcmp( value, "NONE" ) == 0 )
+5 −2
Original line number Diff line number Diff line
@@ -289,7 +289,9 @@ static void init_decoder_config(
    hDecoderConfig->Opt_HRTF_binary = 0;
    hDecoderConfig->Opt_Headrotation = 0;
    hDecoderConfig->Opt_RendConfigCustom = 0;
#ifndef FIX_439_OTR_PARAMS
#ifdef FIX_439_OTR_PARAMS
    hDecoderConfig->orientation_tracking = HEAD_ORIENT_TRK_NONE;
#else
    hDecoderConfig->orientation_tracking = orientation_tracking;
#endif
#ifdef NON_DIEGETIC_PAN
@@ -2804,6 +2806,7 @@ static ivas_error printConfigInfo_dec(
            }
        }
#endif

#ifdef NON_DIEGETIC_PAN
        if ( st_ivas->hDecoderConfig->Opt_non_diegetic_pan )
        {