@@ -348,18 +348,18 @@ bool ffGenerateDisplayJsonResult(FF_MAYBE_UNUSED FFDisplayOptions* options, yyjs
348348 yyjson_mut_obj_add_uint (doc , output , "height" , item -> height );
349349 yyjson_mut_obj_add_real (doc , output , "refreshRate" , item -> refreshRate );
350350
351- if (item -> vrrStatus == FF_DISPLAY_VRR_STATUS_UNKNOWN )
352- yyjson_mut_obj_add_null (doc , output , "vrrStatus " );
353- else switch (item -> vrrStatus )
351+ if (item -> drrStatus == FF_DISPLAY_DRR_STATUS_UNKNOWN )
352+ yyjson_mut_obj_add_null (doc , output , "drrStatus " );
353+ else switch (item -> drrStatus )
354354 {
355- case FF_DISPLAY_VRR_STATUS_DISABLED :
356- yyjson_mut_obj_add_str (doc , output , "vrrStatus " , "Disabled" );
355+ case FF_DISPLAY_DRR_STATUS_DISABLED :
356+ yyjson_mut_obj_add_str (doc , output , "drrStatus " , "Disabled" );
357357 break ;
358- case FF_DISPLAY_VRR_STATUS_ENABLED :
359- yyjson_mut_obj_add_str (doc , output , "vrrStatus " , "Enabled" );
358+ case FF_DISPLAY_DRR_STATUS_ENABLED :
359+ yyjson_mut_obj_add_str (doc , output , "drrStatus " , "Enabled" );
360360 break ;
361361 default :
362- yyjson_mut_obj_add_str (doc , output , "vrrStatus " , "Unknown" );
362+ yyjson_mut_obj_add_str (doc , output , "drrStatus " , "Unknown" );
363363 break ;
364364 }
365365
0 commit comments