Commit 9683ebac authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Configure VP8 cpuused on ARM platforms.

parent 1628b67a
......@@ -182,7 +182,7 @@ static void enc_preprocess(MSFilter *f) {
s->cfg.g_lag_in_frames = 0;
#if defined(ANDROID) || TARGET_OS_IPHONE==1
#if defined(ANDROID) || (TARGET_OS_IPHONE == 1) || defined(__arm__) || defined(_M_ARM)
cpuused = 10 - s->cfg.g_threads; /*cpu/quality tradeoff: positive values decrease CPU usage at the expense of quality*/
if (cpuused < 7) cpuused = 7; /*values beneath 7 consume too much CPU*/
if( s->cfg.g_threads == 1 ){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment