Commit e6d34414 authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf
Browse files

jni: make the function name consistent with other set<X> functions

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent ca24dc2e
......@@ -424,7 +424,7 @@ void setLong(JNIEnv *env, jobject item, const char* field, long value)
(*env)->SetLongField(env, item, fieldId, value);
void SetFloat(JNIEnv *env, jobject item, const char* field, float value)
void setFloat(JNIEnv *env, jobject item, const char* field, float value)
jclass cls;
jfieldID fieldId;
......@@ -705,7 +705,7 @@ jobjectArray Java_org_videolan_vlc_LibVLC_readTracksInfo(JNIEnv *env, jobject th
setInt(env, item, "Height", p_tracks[i];
setInt(env, item, "Width", p_tracks[i];
SetFloat(env, item, "Framerate", p_tracks[i];
setFloat(env, item, "Framerate", p_tracks[i];
if (p_tracks[i].i_type == libvlc_track_audio)
Supports Markdown
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