Commit c4a54bae authored by Thomas Guillem's avatar Thomas Guillem

mediacodec: fix missing brackets

parent 90969570
...@@ -527,9 +527,11 @@ static int Start(mc_api *api, const char *psz_name, const char *psz_mime, ...@@ -527,9 +527,11 @@ static int Start(mc_api *api, const char *psz_name, const char *psz_mime,
b_direct_rendering = false; b_direct_rendering = false;
if (b_direct_rendering && p_args->video.i_angle != 0) if (b_direct_rendering && p_args->video.i_angle != 0)
{
jrotation_string = (*env)->NewStringUTF(env, "rotation-degrees"); jrotation_string = (*env)->NewStringUTF(env, "rotation-degrees");
(*env)->CallVoidMethod(env, jformat, jfields.set_integer, (*env)->CallVoidMethod(env, jformat, jfields.set_integer,
jrotation_string, p_args->video.i_angle); jrotation_string, p_args->video.i_angle);
}
} }
else else
{ {
......
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