Commit 7609d6bf authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

mediacodec: lock InsertInflightPicture

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 18e4554f
......@@ -787,7 +787,9 @@ static void GetOutput(decoder_t *p_dec, JNIEnv *env, picture_t **pp_pic, jlong t
p_picsys->priv.hw.i_index = index;
p_picsys->priv.hw.b_valid = true;
InsertInflightPicture(p_dec, p_pic, index);
} else {
jobject buf = (*env)->GetObjectArrayElement(env, p_sys->output_buffers, index);
//jsize buf_size = (*env)->GetDirectBufferCapacity(env, buf);
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