[Android] Reindent and remove trailing spaces
Jean-Baptiste Kempf
git at videolan.org
Fri Jul 25 23:40:13 CEST 2014
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 25 23:33:11 2014 +0200| [5c8988fbaa1c82f48d68bf58e3b22321004bdbbc] | committer: Jean-Baptiste Kempf
Reindent and remove trailing spaces
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=5c8988fbaa1c82f48d68bf58e3b22321004bdbbc
---
vlc-android/jni/libvlcjni.c | 8 ++++----
vlc-android/src/org/videolan/libvlc/EventHandler.java | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/vlc-android/jni/libvlcjni.c b/vlc-android/jni/libvlcjni.c
index dc045b0..2ebdecb 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -143,9 +143,9 @@ static void vlc_event_callback(const libvlc_event_t *ev, void *data)
jmethodID putString = (*env)->GetMethodID(env, clsBundle, "putString", "(Ljava/lang/String;Ljava/lang/String;)V" );
if (ev->type == libvlc_MediaPlayerPositionChanged) {
- jstring sData = (*env)->NewStringUTF(env, "data");
- (*env)->CallVoidMethod(env, bundle, putFloat, sData, ev->u.media_player_position_changed.new_position);
- (*env)->DeleteLocalRef(env, sData);
+ jstring sData = (*env)->NewStringUTF(env, "data");
+ (*env)->CallVoidMethod(env, bundle, putFloat, sData, ev->u.media_player_position_changed.new_position);
+ (*env)->DeleteLocalRef(env, sData);
} else if (ev->type == libvlc_MediaPlayerTimeChanged) {
jstring sData = (*env)->NewStringUTF(env, "data");
(*env)->CallVoidMethod(env, bundle, putInt, sData, (int) ev->u.media_player_time_changed.new_time);
@@ -420,7 +420,7 @@ void Java_org_videolan_libvlc_LibVLC_playMRL(JNIEnv *env, jobject thiz, jlong in
(*env)->ReleaseStringUTFChars(env, option, p_st);
}
}
-
+
(*env)->ReleaseStringUTFChars(env, mrl, p_mrl);
/* Connect the media event manager. */
diff --git a/vlc-android/src/org/videolan/libvlc/EventHandler.java b/vlc-android/src/org/videolan/libvlc/EventHandler.java
index 5a61fed..16a0791 100644
--- a/vlc-android/src/org/videolan/libvlc/EventHandler.java
+++ b/vlc-android/src/org/videolan/libvlc/EventHandler.java
@@ -50,7 +50,7 @@ public class EventHandler {
//public static final int MediaPlayerBackward = 0x108;
public static final int MediaPlayerEndReached = 0x109;
public static final int MediaPlayerEncounteredError = 0x10a;
- public static final int MediaPlayerTimeChanged = 0x10b;
+ public static final int MediaPlayerTimeChanged = 0x10b;
public static final int MediaPlayerPositionChanged = 0x10c;
//public static final int MediaPlayerSeekableChanged = 0x10d;
//public static final int MediaPlayerPausableChanged = 0x10e;
More information about the Android
mailing list