12 lines
332 B
JavaScript
12 lines
332 B
JavaScript
|
// @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> {
|
||
|
return state['features/base/videoquality'].minHeightForQualityLvl;
|
||
|
}
|