Skip to content

Commit

Permalink
improvement(mediacodecdecode): add hm 1s to black list
Browse files Browse the repository at this point in the history
Signed-off-by: pingkai <pingkai010@gmail.com>
  • Loading branch information
pingkai committed Jul 2, 2020
1 parent 2bd93fb commit 27a0575
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions framework/codec/Android/mediaCodecDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ namespace Cicada {
return false;
}
}
string model = get_android_property("ro.product.model");
AF_LOGI("phone model is %s\n", model.c_str());
if (model == "2014501") {
return false;
}

return true;
}
Expand Down

0 comments on commit 27a0575

Please sign in to comment.