Merge "msm: vidc: Fix an issue with high bitrate playback"
This commit is contained in:
commit
fe65bd3832
1 changed files with 7 additions and 0 deletions
|
@ -1238,6 +1238,13 @@ static unsigned long __get_clock_rate_with_bitrate(struct clock_info *clock,
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Current bitrate is higher than max supported load.
|
||||
* Select max frequency to handle this load.
|
||||
*/
|
||||
if (i < 0)
|
||||
supported_clk[j] = table[0].freq;
|
||||
}
|
||||
|
||||
for (i = 0; i < data->num_sessions; i++)
|
||||
|
|
Loading…
Add table
Reference in a new issue