Merge "Define priority for video threads" into oc-mr1-dev

This commit is contained in:
TreeHugger Robot
2017-09-08 20:05:37 +00:00
committed by Android (Google) Code Review

View File

@@ -137,7 +137,7 @@ JMediaCodec::JMediaCodec(
mLooper->start(
false, // runOnCallingThread
true, // canCallJava
PRIORITY_FOREGROUND);
ANDROID_PRIORITY_VIDEO);
if (nameIsType) {
mCodec = MediaCodec::CreateByType(mLooper, name, encoder, &mInitStatus);