mirror of
https://github.com/androidx/media.git
synced 2025-05-13 02:29:52 +08:00
handle errors from vpx_codec_control_ calls in vpx_jni
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187872692
This commit is contained in:
parent
8c24184f8b
commit
cc48b5568c
@ -295,7 +295,11 @@ DECODER_FUNC(jlong, vpxInit, jboolean disableLoopFilter) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (disableLoopFilter) {
|
if (disableLoopFilter) {
|
||||||
vpx_codec_control_(context, VP9_SET_SKIP_LOOP_FILTER, true);
|
// TODO(b/71930387): Use vpx_codec_control(), not vpx_codec_control_().
|
||||||
|
err = vpx_codec_control_(context, VP9_SET_SKIP_LOOP_FILTER, true);
|
||||||
|
if (err) {
|
||||||
|
LOGE("ERROR: Failed to shut off libvpx loop filter, error = %d.", err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Populate JNI References.
|
// Populate JNI References.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user