2020-08-19 21:38:10 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Selects the thumbnail height to the quality level mapping from the config.
|
|
|
|
*
|
|
|
|
* @param {Object} state - The redux state.
|
|
|
|
* @returns {Map<number,number>}
|
|
|
|
*/
|
|
|
|
export function getMinHeightForQualityLvlMap(state: Object): Map<number, number> {
|
2020-09-01 19:19:04 +00:00
|
|
|
return state['features/video-quality'].minHeightForQualityLvl;
|
2020-08-19 21:38:10 +00:00
|
|
|
}
|