Skip to content

Commit

Permalink
Expose PLAYER_PROCESS_VIDEO_SOURCE_HDR_TYPE_RAW in PLayer Process as …
Browse files Browse the repository at this point in the history
…Integer
  • Loading branch information
cpm-code committed Nov 16, 2024
1 parent 7c9e340 commit db76d7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/guilib/guiinfo/PlayerGUIInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,9 @@ bool CPlayerGUIInfo::GetInt(int& value, const CGUIListItem *gitem, int contextWi
case PLAYER_PROCESS_VIDEO_QUEUE_DATA_LEVEL:
value = CServiceBroker::GetDataCacheCore().GetVideoQueueDataLevel();
return true;
case PLAYER_PROCESS_VIDEO_SOURCE_HDR_TYPE_RAW:
value = static_cast<int>(CServiceBroker::GetDataCacheCore().GetVideoSourceHdrType());
return true;
}

return false;
Expand Down

0 comments on commit db76d7c

Please sign in to comment.