Problem reading video

I’m having trouble using the videoplayer on android.
I have two setups: one phone with an HTC One running Android 4.3 and a Galaxy tab 2 10.1 (GT-P5100) running 4.0.3.
I’ve tried compiling with both platfors 4.2.2 and 4.0.3 but it didn’t change any of the behaviour.
The same codes have differents behaviour depending on the android terminal.

In my application i have about 35 differents videos to play. The App works perfectly on my Phone but on the Tablet it doesn’t play videos no more after 10 videos played.

I’ve figured out the the close() call from ofVideoPlayer (in ofxAndroidVideoPlayer.cpp) does nothing … (audio from the videos continued to play from time to time)

I’ve managed to push the limits of 10 video played to 20 by rewriting the clode method of the ofxAndroidVideoPlayer.cpp with the code:

void ofxAndroidVideoPlayer::close(){
    JNIEnv *env = ofGetJNIEnv();
    jmethodID javaUnloadMovie = env->GetMethodID(javaClass,"unloadMovie","()V");
        ofLogError("ofxAndroidVideoPlayer") << "unloadMovie(): couldn't get java play for VideoPlayer";

However the wanted stability didn’t aprear.

Is the code uppon correct and the video finaly closed?