Skip to content

Commit

Permalink
mediacodec: fix missing brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem committed Aug 17, 2015
1 parent 9096957 commit c4a54ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/codec/omxil/mediacodec_jni.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,11 @@ static int Start(mc_api *api, const char *psz_name, const char *psz_mime,
b_direct_rendering = false;

if (b_direct_rendering && p_args->video.i_angle != 0)
{
jrotation_string = (*env)->NewStringUTF(env, "rotation-degrees");
(*env)->CallVoidMethod(env, jformat, jfields.set_integer,
jrotation_string, p_args->video.i_angle);
}
}
else
{
Expand Down

0 comments on commit c4a54ba

Please sign in to comment.