Commit 47fa89f2 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

mediacodec: fix typo

Try a delayed opening only if csd changed.
parent d9b66b48
......@@ -942,7 +942,7 @@ static picture_t *DecodeVideo(decoder_t *p_dec, block_t **pp_block)
b_error = true;
}
}
if (!p_sys->api->b_started)
if (b_csd_changed)
b_delayed_start = true;
}
......
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